package com.ssm.manage.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import java.math.BigDecimal;

@Setter
@Getter
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class StaffSalaryResponse {
    /**
     * 主键ID
     */
    @Id
    private Long id;

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

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

    /**
     * 员工ID
     */
    @Column(name = "staff_id")
    private Long staffId;

    /**
     * 员工名称
     */
    @Column(name = "staff_name")
    private String staffName;

    /**
     * 底薪
     */
    @Column(name = "base_salary")
    private BigDecimal baseSalary;

    /**
     * 计件工资
     */
    @Column(name = "comm_salary")
    private BigDecimal commSalary;

    /**
     * 时间(按月份)
     */
    private String date;

    /**
     * 水牌号
     */
    @Column(name = "brand_number")
    private String brandNumber;



    /**
     * 充值提成
     */
    private BigDecimal recComm;

    /**
     * 疗程提成
     */
    private BigDecimal courseComm;

    /**
     * 收银提成
     */
    private BigDecimal cashComm;

    /**
     * 还款提成
     */
    private BigDecimal repayComm;

    /**
     * 充值退提成
     */
    private BigDecimal recRefundComm;

    /**
     * 疗程退提成
     */
    private BigDecimal courseRefundComm;

    /**
     * 消费退提成
     */
    private BigDecimal cashRefundComm;

    /**
     * 促销提成
     */
    private BigDecimal promotionComm;
}
