package com.ssm.manage.excelEntity;

import com.ssm.manage.entity.DocPromotion;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ExcelPromotion {
    private String payType;
    private String storeNum;
    private String salmenOneNumber;
    private String salmenOneName;
    private String salmenOneRatio;

    private String salmenTwoNumber;
    private String salmenTwoName;
    private String salmenTwoRatio;

    private String salmenThreeNumber;
    private String salmenThreeName;
    private String salmenThreeRatio;

    private String salmenFourNumber;
    private String salmenFourName;
    private String salmenFourRatio;


    private String salmensOneNumber;
    private String salmensOneName;
    private String salmensOneRatio;

    private String salmensTwoNumber;
    private String salmensTwoName;
    private String salmensTwoRatio;

    private String salmensThreeNumber;
    private String salmensThreeName;
    private String salmensThreeRatio;

    private String salmensFourNumber;
    private String salmensFourName;
    private String salmensFourRatio;

    private String isCancelNew;
    private String isDebtNew;
        /**
         * 主键ID
         */
        @Id
        private Long id;

        /**
         * 门店ID
         */
        @Column(name = "store_id")
        private Long storeId;

        /**
         * 门店名称
         */
        @Column(name = "store_name")
        private String storeName;

        /**
         * 会员ID
         */
        @Column(name = "member_id")
        private Long memberId;

        /**
         * 会员名称
         */
        @Column(name = "member_name")
        private String memberName;

        /**
         * 会员手机号
         */
        @Column(name = "mobile_phone")
        private String mobilePhone;

        /**
         * 会员身份证号
         */
        @Column(name = "member_identity_card")
        private String memberIdentityCard;

        /**
         * 会员卡
         */
        private String card;

        /**
         * 单据号
         */
        @Column(name = "doc_num")
        private String docNum;

        /**
         * 单据时间
         */
        @Column(name = "doc_date")
        private Date docDate;

        /**
         * 促销活动ID
         */
        @Column(name = "promotion_id")
        private Long promotionId;

        /**
         * 促销方案编码
         */
        @Column(name = "promotion_num")
        private String promotionNum;

        /**
         * 促销方案名称
         */
        @Column(name = "promotion_name")
        private String promotionName;

        /**
         * 促销方案价格
         */
        private BigDecimal price;

        /**
         * 套数
         */
        private Integer count;

        /**
         * 销售金额
         */
        private BigDecimal amount;

        /**
         * 现付金额
         */
        @Column(name = "collection_cash_amount")
        private BigDecimal collectionCashAmount;

        /**
         * 充值卡付金额
         */
        @Column(name = "collection_recharge_amount")
        private BigDecimal collectionRechargeAmount;

        /**
         * 现付销售提成，大于1表示固定提成，小于等于1表示比率提成
         */
        @Column(name = "sales_commission")
        private BigDecimal salesCommission;

        /**
         * 卡付销售提成，大于1表示固定提成，小于等于1表示比率提成
         */
        @Column(name = "card_sales_commission")
        private BigDecimal cardSalesCommission;

        /**
         * 现付销售业绩
         */
        @Column(name = "achievement_amount")
        private BigDecimal achievementAmount;

        /**
         * 现付销售提成
         */
        @Column(name = "commission_amount")
        private BigDecimal commissionAmount;

        /**
         * 卡付销售业绩
         */
        @Column(name = "card_achievement_amount")
        private BigDecimal cardAchievementAmount;

        /**
         * 卡付销售提成
         */
        @Column(name = "card_commission_amount")
        private BigDecimal cardCommissionAmount;

        /**
         * 销售员1水牌号
         */
        @Column(name = "sale_one_number")
        private String saleOneNumber;

        /**
         * 销售员2水牌号
         */
        @Column(name = "sale_two_number")
        private String saleTwoNumber;

        /**
         * 销售员3水牌号
         */
        @Column(name = "sale_three_number")
        private String saleThreeNumber;

        /**
         * 销售员4水牌号
         */
        @Column(name = "sale_four_number")
        private String saleFourNumber;

        /**
         * 销售员1编码
         */
        @Column(name = "sale_one_staff_id")
        private Long saleOneStaffId;

        /**
         * 销售员2编码
         */
        @Column(name = "sale_two_staff_id")
        private Long saleTwoStaffId;

        /**
         * 销售员3编码
         */
        @Column(name = "sale_three_staff_id")
        private Long saleThreeStaffId;

        /**
         * 销售员4编码
         */
        @Column(name = "sale_four_staff_id")
        private Long saleFourStaffId;

        /**
         * 销售员1名称
         */
        @Column(name = "sale_one_staff_name")
        private String saleOneStaffName;

        /**
         * 销售员2名称
         */
        @Column(name = "sale_two_staff_name")
        private String saleTwoStaffName;

        /**
         * 销售员3名称
         */
        @Column(name = "sale_three_staff_name")
        private String saleThreeStaffName;

        /**
         * 销售员4名称
         */
        @Column(name = "sale_four_staff_name")
        private String saleFourStaffName;

        /**
         * 销售员1身份证号
         */
        @Column(name = "sale_one_identity")
        private String saleOneIdentity;

        /**
         * 销售员2身份证号
         */
        @Column(name = "sale_two_identity")
        private String saleTwoIdentity;

        /**
         * 销售员3身份证号
         */
        @Column(name = "sale_three_identity")
        private String saleThreeIdentity;

        /**
         * 销售员4身份证号
         */
        @Column(name = "sale_four_identity")
        private String saleFourIdentity;

        /**
         * 销售员1占比
         */
        @Column(name = "sale_one_ratio")
        private BigDecimal saleOneRatio;

        /**
         * 销售员2占比
         */
        @Column(name = "sale_two_ratio")
        private BigDecimal saleTwoRatio;

        /**
         * 销售员3占比
         */
        @Column(name = "sale_three_ratio")
        private BigDecimal saleThreeRatio;

        /**
         * 销售员4占比
         */
        @Column(name = "sale_four_ratio")
        private BigDecimal saleFourRatio;

        /**
         * 门店高管编码
         */
        @Column(name = "manage_staff_id")
        private Long manageStaffId;

        /**
         * 门店高管名称
         */
        @Column(name = "manage_staff_name")
        private String manageStaffName;

        /**
         * 门店高管身份证号
         */
        @Column(name = "manage_identity")
        private String manageIdentity;

        /**
         * 门店高管水牌号
         */
        @Column(name = "manage_number")
        private String manageNumber;

        /**
         * 销售员1业绩
         */
        @Column(name = "sale_one_achievement_amount")
        private BigDecimal saleOneAchievementAmount;

        /**
         * 销售员2业绩
         */
        @Column(name = "sale_two_achievement_amount")
        private BigDecimal saleTwoAchievementAmount;

        /**
         * 销售员3业绩
         */
        @Column(name = "sale_three_achievement_amount")
        private BigDecimal saleThreeAchievementAmount;

        /**
         * 销售员4业绩
         */
        @Column(name = "sale_four_achievement_amount")
        private BigDecimal saleFourAchievementAmount;

        /**
         * 销售员1提成
         */
        @Column(name = "sale_one_commission_amount")
        private BigDecimal saleOneCommissionAmount;

        /**
         * 销售员2提成
         */
        @Column(name = "sale_two_commission_amount")
        private BigDecimal saleTwoCommissionAmount;

        /**
         * 销售员3提成
         */
        @Column(name = "sale_three_commission_amount")
        private BigDecimal saleThreeCommissionAmount;

        /**
         * 销售员3提成
         */
        @Column(name = "sale_four_commission_amount")
        private BigDecimal saleFourCommissionAmount;

        /**
         * 录单人ID
         */
        @Column(name = "input_id")
        private Long inputId;

        /**
         * 录单人名称
         */
        @Column(name = "input_by")
        private String inputBy;

        /**
         * 录单时间
         */
        @Column(name = "input_date")
        private Date inputDate;

        /**
         * 作废人ID
         */
        @Column(name = "cancel_id")
        private Long cancelId;

        /**
         * 作废人名称
         */
        @Column(name = "cancel_by")
        private String cancelBy;

        /**
         * 作废时间
         */
        @Column(name = "cancel_date")
        private Date cancelDate;

        /**
         * 是否作废 1:作废/0:未作废
         */
        @Column(name = "is_cancel")
        private Integer isCancel;

        /**
         * 是否欠款 1:欠款/0:不欠款
         */
        @Column(name = "is_debt")
        private Integer isDebt;


        /**
         * 欠款金额
         */
        @Column(name = "debt_money")
        private BigDecimal debtMoney;


        /**
         * 描述
         */
        private String description;


        /**
         * 选择的项目序号数组
         */
        @Column(name = "promotion_type")
        private Integer promotionType;
        /**
         * 选择的项目序号数组
         */
        @Column(name = "project_count")
        private Integer projectCount;

        /**
         * 选择的项目序号数组
         */
        @Column(name = "project_total")
        private Integer projectTotal;

        /**
         * 选择的项目序号数组
         */
        @Column(name = "project_array")
        private String projectArray;


        /**
         * 随心选总价方式（0=固定价，1=选择项目金额和）
         */
        @Column(name = "money_type")
        private Integer moneyType;

        private static final long serialVersionUID = 1L;


}
