package cn.freemud.entities;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

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

@Data
public class Active {

    @JSONField(
            name = "ActiveId"
    )
    private Integer ActiveId;
    @JSONField(
            name = "EBCode"
    )
    private String EBCode;
    @JSONField(
            name = "Type"
    )
    private Integer Type;
    @JSONField(
            name = "PartnerID"
    )
    private Integer PartnerID;
    @JSONField(
            name = "PlatformItemId"
    )
    private String PlatformItemId;
    @JSONField(
            name = "State"
    )
    private Integer State;
    @JSONField(
            name = "CreateUser"
    )
    private String CreateUser;
    @JSONField(
            name = "CreateDate"
    )
    private String CreateDate;
    @JSONField(
            name = "LastEditUser"
    )
    private String LastEditUser;
    @JSONField(
            name = "LastEditDate"
    )
    private String LastEditDate;
    @JSONField(
            name = "ActiveCode"
    )
    private String ActiveCode;
    @JSONField(
            name = "ActiveName"
    )
    private String ActiveName;
    @JSONField(
            name = "StartDate"
    )
    private String StartDate;
    @JSONField(
            name = "EndDate"
    )
    private String EndDate;
    @JSONField(
            name = "ShouldRedeemAll"
    )
    private Boolean ShouldRedeemAll;
    @JSONField(
            name = "PromotionType"
    )
    private String PromotionType;
    @JSONField(
            name = "Exclusive"
    )
    private Boolean Exclusive;
    @JSONField(
            name = "MinAmount"
    )
    private BigDecimal MinAmount;
    @JSONField(
            name = "MaxRedeemTimes"
    )
    private Integer MaxRedeemTimes;
    @JSONField(
            name = "MaxSendOut"
    )
    private Integer MaxSendOut;
    @JSONField(
            name = "Cost"
    )
    private BigDecimal Cost;
    @JSONField(
            name = "BusinessID"
    )
    private Integer BusinessID;
    @JSONField(
            name = "ActiveDesc"
    )
    private String ActiveDesc;
    @JSONField(
            name = "Percentage"
    )
    private Double percentage;
    @JSONField(
            name = "Inventory"
    )
    private Integer inventory;
    @JSONField(
            name = "PercentDiscount"
    )
    private BigDecimal PercentDiscount;
    @JSONField(
            name = "MaxDiscount"
    )
    private Integer MaxDiscount;
    @JSONField(
            name = "AppId"
    )
    private String AppId;
    @JSONField(
            name = "FromDayEffective"
    )
    private Integer FromDayEffective;
    @JSONField(
            name = "Effective"
    )
    private Integer Effective;
    @JSONField(
            name = "EffectiveStart"
    )
    private Date EffectiveStart;
    @JSONField(
            name = "EffectiveEnd"
    )
    private Date EffectiveEnd;
    @JSONField(
            name = "RedeemChannel"
    )
    private String RedeemChannel;
    @JSONField(
            name = "MerchantDiscountPrice"
    )
    private BigDecimal MerchantDiscountPrice;
    @JSONField(
            name = "PlatformDiscountPrice"
    )
    private BigDecimal PlatformDiscountPrice;
    @JSONField(
            name = "OtherDiscountPrice"
    )
    private BigDecimal OtherDiscountPrice;

    @JSONField(
            name = "salePrice"
    )
    private Integer salePrice;
    @JSONField(
            name = "voucherFaceValue"
    )
    private Integer voucherFaceValue;

}
