| | |
| | | import lombok.experimental.Accessors; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @ApiModel(value="XpActicityStrategy对象", description="活动策略配置") |
| | | public class XpActicityStrategy extends BaseModel { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty(value = "主键") |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | |
| | | @ApiModelProperty(value = "发放规则(1=每日循环发放,2=仅发放一次,3=使用后发放)") |
| | | private Integer distributionRules; |
| | | |
| | | @ApiModelProperty(value = "使用后发放规则json") |
| | | private String distributionRulesAfterUse; |
| | | @ApiModelProperty(value = "发放时间点") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private LocalDateTime distributionTime; |
| | | |
| | | @ApiModelProperty(value = "生效规则(1=次日0点失效,2=指定有效天数,3=指定日期失效)") |
| | | private Integer effectiveRules; |
| | |
| | | @ApiModelProperty(value = "是否叠加使用(0=否,1=是)") |
| | | private Integer stackedUsage; |
| | | |
| | | @ApiModelProperty(value = "使用时段json") |
| | | private String usagePeriod; |
| | | @ApiModelProperty(value = "叠加使用,不可超出总金额的百分比") |
| | | private Integer repPercent; |
| | | |
| | | @ApiModelProperty(value = "优惠券类型") |
| | | private Integer CouponTypeId; |
| | | |
| | | @ApiModelProperty(value = "使用时间段,时间字符串,开始和结束用,分割拼接成一个字符串,如果只有结束时间还是需要保持逗号,如:[',2007-05-03 05:00:00']") |
| | | private List<String> usagePeriod; |
| | | |
| | | @ApiModelProperty(value = "每人限领数量") |
| | | private Integer limitNumber; |