package com.hz.phis.dt.card; import com.fasterxml.jackson.annotation.JsonFormat; import com.hz.phis.dt.BaseDt; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.math.BigDecimal; import java.util.List; /** * 卡项列表实体 * * @author fwq */ @Data public class CardListDt extends BaseDt { /**上下架*/ private Integer isUp; /**编号*/ private String code; /**卡项名*/ private String name; /**状态 inactivated未开始,sales销售中,off_shelves暂停销售,overdue过期,disabled作废*/ private String status; /**卡项总金额,以元为存储(全部金额,包括优惠价格,售价)*/ private BigDecimal total; /**门店标识*/ private String shopId; /**门店名称*/ private String shopName; /**有效开始时间*/ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") private String startTime; /**有效结束时间*/ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") private String endTime; /**列表*/ private List list; }