package com.fs.hisStore.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class FsStoreCouponIssueVO implements Serializable
{

    private Long id;

    private String couponName;

    /** 优惠券ID */
    private Long couponId;

    /** 优惠券类型 0-通用 1-商品券 2-制单卷 3-立减金*/
    private Integer couponType;

    /** 优惠券领取开启时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    /** 优惠券领取结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date limitTime;

    /** 优惠券领取数量 */
    private Integer totalCount;

    /** 优惠券剩余领取数量 */
    private Integer remainCount;

    /** 是否无限张数 */
    private Integer isPermanent;

    /** 1 正常 0 未开启 -1 已无效 */
    private Integer status;

    private Integer isDel;

    private Integer receiveCount;

    private BigDecimal couponPrice;

    private BigDecimal useMinPrice;

    private Long couponTime;

    private String packageCateNames;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
