package com.gree.mall.manager.bean.coupon;

import com.gree.mall.manager.annotation.ZfireField;
import com.gree.mall.manager.enums.CouponPageTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
@ZfireField(tbName = "cp")
public class CouponPageBeanVO   {

    @ZfireField(hide = true)
    @ApiModelProperty(value = "优惠券id")
    private String couponId;

    @ApiModelProperty(value = "优惠券名称")
    private String couponName;

    @ApiModelProperty(value = "发放总量")
    private Integer couponAmount;

    @ZfireField(hide = true)
    @ApiModelProperty(value = "优惠券图片")
    private String imgSrc;

    @ApiModelProperty(value = "类型")
    private CouponPageTypeEnum couponType;

    @ZfireField(hide = true)
    @ApiModelProperty(value = "订单满足金额 0=没门槛")
    private BigDecimal orderAmount;

    @ZfireField(hide = true)
    @ApiModelProperty(value = "用券时间类型 1=统一指定时间 2=领券当日起多少天可用 3=领券次日起多少天可用")
    private Integer activeType;

    @ZfireField(hide = true)
    @ApiModelProperty(value = "多少天后过期")
    private Integer activeDay;

    @ApiModelProperty(value = "优惠券使用开始时间")
    private Date activeStartTime;

    @ApiModelProperty(value = "优惠券使用结束时间")
    private Date activeEndTime;

    @ZfireField(hide = true)
    @ApiModelProperty(value = "领取人群 0=所有会员 1=指定标签 2=指定会员 3=全部业务员,4=全部普通用户")
    private Integer receiveCrowd;

    @ZfireField(hide = true)
    @ApiModelProperty(value = "每人限领次数 0=不限次数")
    private Integer receiveLimitCount;

    @ZfireField(hide = true)
    @ApiModelProperty(value = "限制原价商品 false=不限制 true=限制")
    private Boolean originalPriceLimit;

    @ApiModelProperty(value = "排序(降序)")
    private Integer sortNum;

    @ApiModelProperty(value = "优惠值")
    private BigDecimal couponValue;

    @ApiModelProperty(value = "使用说明")
    private String note;

    @ApiModelProperty(value = "优惠券领取开始时间")
    private Date obtainStartTime;

    @ApiModelProperty(value = "优惠券领取结束时间")
    private Date obtainEndTime;

    @ApiModelProperty(value = "券显示时间")
    private Date displayTime;

//    @ApiModelProperty(value = "发布开始时间")
//    private Date releaseStartTime;
//
//    @ApiModelProperty(value = "发布结束时间")
//    private Date releaseEndTime;
//
//    @ApiModelProperty(value = "标志")
//    private CouponPageFlagEnum flag;

    @ApiModelProperty(value = "领取数量")
    private Integer receiveAmount;

    @ApiModelProperty(value = "剩余数量")
    private Integer leftAmount;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ZfireField(hide = true)
    @ApiModelProperty(value = "是否可以转让,1:可转让,0:不可转让")
    private Boolean transferType;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ZfireField(hide = true)
    @ApiModelProperty(value = "业务员券分享次数")
    private Integer shareTimes;

    @ZfireField(hide = true)
    @ApiModelProperty(value = "企业微信id")
    private String companyWechatId;

//    @ApiModelProperty(value = "商户名称")
//    private String companyName;



}
