Helius
2021-06-30 02b38bb7c08d68fffc6af25e4ba00a456d96e94e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
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();
    }
}