package com.ssm.manage.extendEntity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

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

@Setter
@Getter
@ToString
public class StaffStatistic {


    private Long staffId;
    private List<Long> storeIds;
    private BigDecimal chia;
    private String storeNum;
    private String storeName;
    private String staffName;
    private String brandNumber;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date date;
    private BigDecimal recStatisticMoney;
    private BigDecimal courseStatisticMoney;
    private BigDecimal cashStatisticMoney;
    private BigDecimal promotionStatisticMoney;

    //
    private BigDecimal achievementAmount;
    private BigDecimal commissionAmount;

    private BigDecimal cardAchi;
    private BigDecimal cardComm;

    private BigDecimal cashAchi;
    private BigDecimal cashComm;

    //标识员工查询天数 0上月 1昨日 2今日 3本月
    private Integer type;

    //类型
    private String classify;

    private Long storeId;

    private String selectDate;
    private String startDate;
    private String endDate;

    private int orderType;

    //疗程总
    private BigDecimal courseSum;
    //疗程
    private BigDecimal course;
    //疗程还款总
    private BigDecimal courseRepay;

    //充值开卡
    private BigDecimal rechargeyj;
    private BigDecimal rechargeTC;
    //疗程开卡
    private BigDecimal courseOfTreatmentYJ;
    private BigDecimal courseOfTreatmentTC;
    //服务单据
    private BigDecimal serveYJ;
    private BigDecimal serveTC;
    //还款单据
    private BigDecimal repaymentYJ;
    private BigDecimal repaymentTC;
    //充值退款单
    private BigDecimal TopUpRefundYJ;
    private BigDecimal TopUpRefundTC;
    //疗程退款
    private BigDecimal ACourseOfRefundYJ;
    private BigDecimal ACourseOfRefundTC;
    //收银退款
    private BigDecimal CashierRefundYJ;
    private BigDecimal CashierRefundTC;
    //促销单
    private BigDecimal leafletYJ;
    private BigDecimal leafletTC;

    //充值还款
    private BigDecimal czhkyj;
    private BigDecimal czhktc;

    //疗程还款
    private BigDecimal lchkyj;
    private BigDecimal lchktc;

    //加价转疗程
    private BigDecimal jjzlcyj;
    private BigDecimal jjzlctc;

    //总业绩
    private BigDecimal totalyj;
    private BigDecimal totaltc;

    //疗程开卡的卡付业绩
    private BigDecimal lcCardyj;
    private BigDecimal lcCashyj;

    //收银疗程销卡
    private BigDecimal sylcxkyj;

    //退款总业绩
    private BigDecimal tkyj;

    //收银的的现付业绩
    private BigDecimal syxfyj;

    //总业绩
    private BigDecimal zyj;

    //扣减后业绩
    private BigDecimal kjhyj;

    //消费退疗程充值合计
    private BigDecimal xftlcczhjyj;

    //收银充值卡付
    private BigDecimal syczkfyj;

    //底薪
    private BigDecimal baseSalary;

    //结算工资=底薪+提成
    private BigDecimal totalWages;

    private String mumberName;
    private String mobilePhone;
    private String docNum;

    //每页数据条数
    private Integer pageNum;
    //当前页
    private Integer pageSize;

    private Integer total;

    //记录疗程转充值业绩
    private BigDecimal rechargeTurnCourseChia;

    //记录疗程转充值提出
    private BigDecimal rechargeTurnCourseComm;

    //重算表示
    private List<Integer> recalculationType;
    /**
     * 部门业绩
     */

    //部门
    private Integer deptName;
    //部门名称
    private String deptNames;

    //充值总业绩（团购卡+充值+充值促销+还款）
    private BigDecimal recharge;
    //充值业绩（团购卡+充值+充值促销）
    private BigDecimal rechargecar;

    //疗程总业绩
    private BigDecimal courseTotal;
    //疗程卡付
    private BigDecimal courseCard;
    //疗程现付
    private BigDecimal courseCash;

    //疗程促销总业绩
    private BigDecimal coursePromotionTotal;
    //疗程促销卡付
    private BigDecimal coursePromotionCard;
    //疗程促销现付
    private BigDecimal coursePromotionCash;

    //服务总业绩
    private BigDecimal cashierTotal;
    //服务现付
    private BigDecimal cashierCash;
    //服务疗程卡付
    private BigDecimal cashierCard;
    //服务充值卡付
    private BigDecimal cashierRecharge;

    //还款总业绩
    private BigDecimal repaymentTotal;
    //充值还款
    private BigDecimal repaymentRecharge;
    //疗程还款
    private BigDecimal repaymentCourse;

    //退款总业绩
    private BigDecimal refundTotal;
    //充值退款
    private BigDecimal refundRechagre;
    //疗程退款
    private BigDecimal refundCourse;
    //消费退款
    private BigDecimal refundCash;

    //加价转疗程卡付
    private BigDecimal jjzlcCard;
    //加价转疗程现付
    private BigDecimal jjzlcCash;

    //现金收款
    private BigDecimal cashReceipts;

    //疗程业绩
    private BigDecimal courseYj;

    //疗程业绩
    private BigDecimal cashYj;

    //促销业绩
    private BigDecimal cardcxyj;
    private BigDecimal cashcxyj;
    private BigDecimal cardcxtc;
    private BigDecimal cashcxtc;

    private BigDecimal nTMoney;

    //团购
    private BigDecimal groupPurchaseChia;
    private BigDecimal groupPurchaseComm;

    //技师服务（沐足）
    //卡付现付
    private BigDecimal footMassageChia;
    private BigDecimal footMassageComm;
    private BigDecimal CardFootMassageChia;
    private BigDecimal CardFootMassageComm;

    //推销
    private BigDecimal marketChia;
    private BigDecimal marketComm;



    private List<Long> storeList;

    /**
     * 查询方式，0=指定查询，1=自动查询
     */
    private Integer selectType;
    private BigDecimal cooperationAchi;

    //合作方业绩
    private BigDecimal cooperationCardAmount;
    //合作疗程现付业绩
    private BigDecimal cooperateAmount;
    //疗程总金额
    private BigDecimal allAmount;
    //疗程现付
    private BigDecimal cashAmount;
    //疗程卡付
    private BigDecimal cardAmount;

    private BigDecimal hkCooperationAmount;

    private BigDecimal courseCardRepay;
    private BigDecimal rechargeCardRepay;
}
