package com.hz.phis.dt.limit; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; /** * 总é™åˆ¶ * @author fwq */ @Data public class LimitTotalDt { /**é™åˆ¶æ ‡è¯†*/ private String id; /**é™åˆ¶ç¼–ç */ private String code; /**类型*/ private int type; /**外键id(å¡é¡¹/促销/é¡¹ç›®æ ‡è¯†)*/ private String foreignKey; /**é™åˆ¶æ•°é‡*/ private Integer limitNum; /**é™åˆ¶æ€»æ•°é‡*/ private Integer limitSumNum; /**å®¢æˆ·ç±»åˆ«æ ‡è¯†*/ private String userTypeId; /**客户类别å称*/ private String userTypeName; /**å‘布范围(PlatformLimit:code)*/ private String isUpPlatform; /**有效开始时间*/ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") private Date startTime; /**有效结æŸæ—¶é—´*/ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") private Date endTime; /**最åŽä¸€æ¬¡ä¸‹å•å¼€å§‹æ—¶é—´*/ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") private Date lastStartTime; /**最åŽä¸€æ¬¡ä¸‹å•ç»“æŸæ—¶é—´*/ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") private Date lastEndTime; /**类型-å¡é¡¹*/ public static final Integer LIMIT_CARD_ITEM = 0; /**类型-促销*/ public static final Integer LIMIT_PROMOTION = 1; /**类型-项目*/ public static final Integer LIMIT_PROJECT = 2; /**类型-商å“(耗æ)*/ public static final Integer LIMIT_CONSUMABLE = 3; }