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.Collection;
import java.util.Date;
import java.util.List;

@Setter
@Getter
@ToString
public class StoreDaily {

private Date date;
    //业绩
    private BigDecimal achievementAmount;
    private BigDecimal rechargeGifMoney;
    //合作方业绩
    private BigDecimal cooperateAmount;
    //卡付业绩
    private BigDecimal cardAcievementAmount;
    //合作方卡付业绩
    private BigDecimal cardCooperateAmount;
    //支付id
    private String docId;
    //收银单人头数
    private Integer cashPeopleNum;
    //收银服务金额
    private BigDecimal cashMoney;
    //疗程金额
    private BigDecimal courseMoney;
    //疗程单数
    private Integer courseOrderNum;
    //充值金额
    private BigDecimal rechargeMoney;
    //充值单数
    private Integer rechargeOrderNum;
    //还款金额
    private BigDecimal repayMoney;
    //退款金额
    private BigDecimal refundMoney;
    //退款类型
    private Integer refundType;
    //新会员数(当天新增会员数)
    private Integer newMemberNum;
    //会员总数
    private Integer memberNum;
    //充值负卡金结存金额
    private BigDecimal recNegativeMoney;
    //启用会员
    private Integer startMemberNum;

    //服务男单数
    private Integer woman;
    //服务女单数
    private Integer man;
    //统计时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date docDate;

    private Long storeId;
    private String storeName;

    //服务现付金额
    private BigDecimal cashierCashMoney;
    //服务卡付金额
    private BigDecimal cashierCardMoney;

    //疗程现付金额
    private BigDecimal coursexMoney;
    //疗程卡付金额
    private BigDecimal coursekMoney;
    //收银疗程付金额
    private BigDecimal cashlMoney;

    //id，查询现付类型
    private String id;
    private List<String> ids;

    //还款类型
    private  String accountType;
    //充值还款
    private String recRepay;
    private BigDecimal recRepayMoney;
    //疗程还款
    private String  courseRepay;
    private BigDecimal courseRepayMoney;
    //促销还款
    private String promotionCourseRepay;
    private BigDecimal promotionCourseRepayMoney;

    //加价转疗程金额
    private BigDecimal changeInPayMoney;

    //疗程促销现付金额
    private BigDecimal collectionCashAmount;
    //疗程促销卡付金额
    private BigDecimal collectionRechargeAmount;
    //疗程促销小计金额
    private BigDecimal cashRechargeMoneys;

    //现付收款类型名称（支付宝、银行）
    private String typeName;
    //现付收款类型总金额
    private BigDecimal typeMoneys;

    //团购卡次数
    private Integer grouponCounts;
    //团购卡金额
    private BigDecimal grouponMoney;

    //充值还款单数
    private Integer recRepayNum;
    //疗程还款单数
    private Integer courseRepayNum;
    //还款类型
    private String repayTypeName;
    //计数
    private Integer repayTypeNum;

    private List<AchiCommEntity> entities;
    //单据号
    private String docNum;
    //统计还款数量，大于1条的就是有作废
    private Integer count;

    private BigDecimal hkCooperateAmount;
    private Integer cashManNum;
    private Integer cashWomanNum;
}
