| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.math.BigDecimal; |
| | | |
| | | @Data |
| | |
| | | private Long id; |
| | | |
| | | @ApiModelProperty("会员等级名称") |
| | | @NotNull |
| | | private String name; |
| | | |
| | | @ApiModelProperty("成长点-区间-开始") |
| | | @NotNull |
| | | private int startPoint; |
| | | |
| | | @ApiModelProperty("成长点-区间-结束") |
| | | private int endPoint; |
| | | private Integer endPoint; |
| | | |
| | | @ApiModelProperty("会员折扣类型(百分比、固定金额)") |
| | | private int discountType; |
| | | @NotNull |
| | | private String discountType; |
| | | |
| | | @ApiModelProperty("会员折扣百分比") |
| | | @NotNull |
| | | private BigDecimal discountRatio; |
| | | |
| | | @ApiModelProperty("会员折扣固定金额") |
| | | @NotNull |
| | | private BigDecimal discountAmount; |
| | | |
| | | @ApiModelProperty("消费金额(元)") |
| | | @NotNull |
| | | private int consumptionAmount; |
| | | |
| | | @ApiModelProperty("已消费产生的成长值") |
| | | @NotNull |
| | | private int growthValue; |
| | | |
| | | @ApiModelProperty("未消费产生的下降值") |
| | | @NotNull |
| | | private int downgradeValue; |
| | | |
| | | @ApiModelProperty("成长值规则") |
| | | private String growthRule; |
| | | |
| | | @ApiModelProperty("背景") |
| | | @NotNull |
| | | private String background; |
| | | |
| | | @ApiModelProperty("图片") |
| | | @NotNull |
| | | private String pictures; |
| | | |
| | | @ApiModelProperty(value = "会员成长值获取规则") |
| | | @NotNull |
| | | private String growthValueDesc; |
| | | |
| | | } |