package com.ssm.manage.response;

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

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

@Setter
@Getter
@ToString
public class StoreMonthTaskResponse {

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

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

    /**
     * 充值任务
     */
    @Column(name = "recharge_task")
    private BigDecimal rechargeTask;

    /**
     * 疗程任务
     */
    @Column(name = "course_task")
    private BigDecimal courseTask;

    /**
     * 服务任务
     */
    @Column(name = "store_cash_task")
    private BigDecimal storeCashTask;

    /**
     * 设置时间
     */
    @DateTimeFormat(pattern = "yyyy-MM")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date date;

    /**
     * 0:未启用/1:启用
     */
    private Integer state;

    /**
     * 充值金额
     */
    private BigDecimal rechargeMoney;
    /**
     * 疗程金额
     */
    private BigDecimal courseMoney;
    /**
     * 充值还款金额
     */
    private BigDecimal recRepayMoney;
    /**
     * 疗程还款金额
     */
    private BigDecimal courseRepayMoney;

    /**
     * 充值服务金额
     */
    private BigDecimal recStoreCashMoney;
    /**
     * 疗程服务金额
     */
    private BigDecimal courseStoreCashMoney;

    /**
     * 现付服务金额
     */
    private BigDecimal cashStoreCashMoney;

    /**
     * 购疗程充值金额
     */
    private BigDecimal recCourseMoney;
}
