无关风月
2025-05-08 9486766c806fe1d9e082b2fd02ea1cc558f1b443
cloud-server-management/src/main/java/com/dsh/course/feignClient/activity/model/THuiminCard.java
@@ -18,7 +18,7 @@
/**
 * <p>
 * 惠民卡
 * 玩湃惠民卡
 * </p>
 *
 * @author jqs
@@ -38,12 +38,12 @@
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 惠民卡名称
     * 玩湃惠民卡名称
     */
    @TableField("huiMinName")
    private String huiMinName;
    /**
     *惠民卡类型1年度2年内
     *玩湃惠民卡类型1年度2年内
     */
    @TableField("huiMinType")
    private String huiMinType;
@@ -91,17 +91,20 @@
     *有效期 不填表示永久
     */
    @TableField("endTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",  timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    /**
     *有效期结束时间 不填表示永久
     *有效期开始时间
     */
    @TableField("startTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",  timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    /**
     *可使用时间段,周,多个逗号分隔
     */
@@ -112,23 +115,25 @@
     */
    @TableField("useTimes")
    private String useTimes;
    /**
     *不可用时间段,yyyy-MM-dd HH:mm:ss,多个逗号分隔
     */
//    /**
//     *不可用时间段,yyyy-MM-dd HH:mm:ss,多个逗号分隔
//     */
    @TableField("unUseTimes")
    private String unUseTimes;
    /**
     *使用范围1门店2场地
     */
    @TableField("useScope")
    private String useScope;
    private Integer useScope;
    /**
     *根据适用范围,存储门店id或场地id,多个逗号分隔
     */
    @TableField("useIds")
    private String useIds;
    /**
     *惠民卡介绍
     *玩湃惠民卡介绍
     */
    @TableField("introduce")
    private String introduce;
@@ -162,6 +167,30 @@
    private String startTimeStr;
    @TableField(exist = false)
    private String endTimeStr;
    @TableField(exist = false)
    private Long current;
    @TableField(exist = false)
    private Long size;
    /**
     * 已购数量
     */
    @TableField(exist = false)
    private Integer buyCount;
    /**
     * 玩湃惠民卡状态:1未开始 2已开始 3已结束
     */
    @TableField(exist = false)
    private Integer huiMinStatus;
    /**
     * 1=平台,2=城市管理员,3=门店
     */
    @TableField(exist = false)
    private Integer objectType;
    @TableField(exist = false)
    private Integer objectId;
    @Override
    protected Serializable pkVal() {