package com.ssm.manage.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

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

@Table(name = "member_init_staff")
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class MemberInitStaff implements Serializable {
    /**
     * 主键ID
     */
    @Column(name = "store_id")
    private Long storeId;
    @Id
    private Long id;
    @Column(name = "doc_date")
    private Date docDate;
    @Column(name = "state")
    private Integer state;
    @Column(name = "money")
    private BigDecimal money;
    /**
     * 单据号
     */
    @Column(name = "doc_num")
    private String docNum;

    @Column(name = "brand_number")
    private String brandNumber;

    @Column(name = "staff_id")
    private Long staffId;

    @Column(name = "Staff_name")
    private String staffName;

    @Column(name = "ratio")
    private BigDecimal ratio;

    @Column(name = "project_id")
    private Long projectId;

    @Column(name = "sales_achievement")
    private BigDecimal salesAchievement;

    @Column(name = "sales_commission")
    private BigDecimal salesCommission;

    @Column(name = "card_sales_achievement")
    private BigDecimal cardSalesAchievement;

    @Column(name = "card_sales_commission")
    private BigDecimal cardSalesCommission;
    @Column(name = "is_cooperation")
    private Integer isCooperation;
    @Column(name = "brokerage")
    private BigDecimal brokerage;

}