package com.xzx.gc.model.admin;
|
|
|
import com.xzx.gc.entity.RebateRule;
|
import com.xzx.gc.entity.RedPaperRule;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
|
/*
|
* 红包发放规则表
|
* gen by Spring Boot2 Admin 2019-12-11
|
*/
|
@Data
|
public class XzxUserRedpaperPriceModel implements Serializable {
|
|
|
Integer id ;
|
|
|
String ruleName ;
|
|
|
String applicableObject ;
|
|
String applicableObjectDesc;
|
|
|
String designatedUser ;
|
|
|
String designatedWeight ;
|
|
String issuanceRules ;
|
|
|
String randomAmountAverage ;
|
|
|
String amount ;
|
|
|
String surplusAmount ;
|
|
String surplusNum ;
|
|
String redEnvelopesNum ;
|
|
String startTime ;
|
|
String endTime ;
|
|
Short status ;
|
|
String createTime ;
|
|
String updateTime ;
|
|
Short delFlag ;
|
|
String sharingProfitType ;
|
|
String shareRatio ;
|
|
String ruleType ;
|
|
String conversionPerUnit;
|
|
String conversionPerUnitFlag;
|
|
String productType;
|
|
String timing;
|
|
String packageId;
|
@ApiModelProperty(value="阶梯价格列表",required=true)
|
List<RebateRule> rulePriceList;
|
@ApiModelProperty(value="文案",required=true)
|
private String typeDesc;
|
@ApiModelProperty(value="合伙人ID",required=true)
|
String partnerId;
|
List<RebateWeightPriceModel> royaltyRuleList;
|
String partnerName;
|
public XzxUserRedpaperPriceModel(){
|
}
|
|
public XzxUserRedpaperPriceModel(RedPaperRule rule){
|
this.id = rule.getId();
|
this.amount = rule.getAmount();
|
this.applicableObject = rule.getApplicableObject();
|
this.conversionPerUnit = rule.getConversionPerUnit();
|
this.conversionPerUnitFlag = rule.getConversionPerUnitFlag();
|
this.createTime = rule.getCreateTime();
|
this.delFlag = rule.getDelFlag();
|
this.designatedUser = rule.getDesignatedUser();
|
this.designatedWeight = rule.getDesignatedWeight();
|
this.endTime = rule.getEndTime();
|
this.issuanceRules = rule.getIssuanceRules();
|
this.randomAmountAverage = rule.getRandomAmountAverage();
|
this.redEnvelopesNum = rule.getRedEnvelopesNum();
|
this.ruleName = rule.getRuleName();
|
this.ruleType = rule.getRuleType();
|
this.shareRatio = rule.getShareRatio();
|
this.sharingProfitType = rule.getSharingProfitType();
|
this.startTime = rule.getStartTime();
|
this.status = rule.getStatus();
|
this.surplusAmount = rule.getSurplusAmount();
|
this.surplusNum = rule.getSurplusNum();
|
this.updateTime = rule.getUpdateTime();
|
this.timing = rule.getTiming();
|
this.productType = rule.getProductType();
|
this.packageId=rule.getPackageId();
|
this.partnerId=rule.getPartnerId();
|
this.partnerName=rule.getPartnerName();
|
}
|
}
|