package com.ssm.manage.dto;

import com.ssm.manage.page.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.util.Date;

/**
 * (PlatformCoupon)查询类
 *
 * @author makejava
 * @since 2022-06-11 14:58:53
 */
@Data
@ApiModel(value = "Dto")
public class PlatformCouponDto extends BasePage {


    /**
     * 优惠卷编码
     */
    @Column(name = "coupon_num")
    @ApiModelProperty(name = "couponNum", value = "优惠卷编码")
    private String couponNum;
    /**
     * 优惠卷名称
     */
    @Column(name = "coupon_name")
    @ApiModelProperty(name = "couponName", value = "优惠卷名称")
    private String couponName;
    /**
     * 发放数量
     */
    @Column(name = "coupon_number")
    @ApiModelProperty(name = "couponNumber", value = "发放数量")
    private Integer couponNumber;
    /**
     * 0=代金卷，1=折扣卷，3=代扣卷
     */
    @Column(name = "coupon_type")
    @ApiModelProperty(name = "couponType", value = "0=代金卷，1=折扣卷，3=代扣卷")
    private Integer couponType;
    /**
     * 0=满减，1=没有限制
     */
    @Column(name = "service_conditions")
    @ApiModelProperty(name = "serviceConditions", value = "0=满减，1=没有限制")
    private Integer serviceConditions;
    /**
     * 开始日期
     */
    @Column(name = "start_date")
    @ApiModelProperty(name = "startDate", value = "开始日期")
    private Date startDate;
    /**
     * 结束日期
     */
    @Column(name = "end_date")
    @ApiModelProperty(name = "endDate", value = "结束日期")
    private Date endDate;

    /**
     * 创建门店名称
     */
    @Column(name = "store_name")
    @ApiModelProperty(name = "storeName", value = "创建门店名称")
    private String storeName;

    /**
     * 创建人名称
     */
    @Column(name = "input_name")
    @ApiModelProperty(name = "inputName", value = "创建人名称")
    private String inputName;

    /**
     * 状态0=新增，1=送审，2=回收，3=门店审核，4=门店反审核,5=打款待审，6=平台审核，7=平台反审核，8=平台发布，9=平台回收，10=关闭
     */
    @Column(name = "state")
    @ApiModelProperty(name = "state", value = "状态0=新增，1=送审，2=回收，3=门店审核，4=门店反审核,5=打款待审，6=平台审核，7=平台反审核，8=平台发布，9=平台回收，10=关闭")
    private Integer state;
    /**
     * 门店审核人名称
     */
    @Column(name = "store_audit_name")
    @ApiModelProperty(name = "storeAuditName", value = "门店审核人名称")
    private String storeAuditName;
    /**
     * 门店反审核人名称
     */
    @Column(name = "store_auditee_name")
    @ApiModelProperty(name = "storeAuditeeName", value = "门店反审核人名称")
    private String storeAuditeeName;
    /**
     * 打款确认人名称
     */
    @Column(name = "confirm_payment_name")
    @ApiModelProperty(name = "confirmPaymentName", value = "打款确认人名称")
    private String confirmPaymentName;
    /**
     * 平台反审核人名称
     */
    @Column(name = "platform_auditee_name")
    @ApiModelProperty(name = "platformAuditeeName", value = "平台反审核人名称")
    private String platformAuditeeName;
    /**
     * 平台发布人名称
     */
    @Column(name = "platform_release_name")
    @ApiModelProperty(name = "platformReleaseName", value = "平台发布人名称")
    private String platformReleaseName;

    /**
     * 平台回收人名称
     */
    @Column(name = "platform_recycle_name")
    @ApiModelProperty(name = "platformRecycleName", value = "平台回收人名称")
    private String platformRecycleName;

    /**
     * 关闭人名称
     */
    @Column(name = "close_name")
    @ApiModelProperty(name = "closeName", value = "关闭人名称")
    private String closeName;
    /**
     * 关闭人时间
     */
    @Column(name = "close_date")
    @ApiModelProperty(name = "closeDate", value = "关闭人时间")
    private Date closeDate;
    /**
     * 分享提成规则(0=固定提成，1=单据金额抽成)，默认为0
     */
    @Column(name = "Share_commission_rules")
    @ApiModelProperty(name = "shareCommissionRules", value = "分享提成规则(0=固定提成，1=单据金额抽成)，默认为0")
    private Integer shareCommissionRules;
    /**
     * 固定提成
     */
    @Column(name = "fixed_amount")
    @ApiModelProperty(name = "fixedAmount", value = "固定提成")
    private Double fixedAmount;
    /**
     * 单据金额抽成（%）
     */
    @Column(name = "order_commission")
    @ApiModelProperty(name = "orderCommission", value = "单据金额抽成（%）")
    private Double orderCommission;


    private Integer judge;


    /**
     * 门店编码
     */
    @Column(name = "store_num")
    @ApiModelProperty(name = "storeNum", value = "门店编码")
    private String storeNum;

}