package com.ssm.manage.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

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

@Data
@Accessors(chain = true)
@Table(name = "cooperate_project")
public class CooperateProject {
    @Id
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "合作商项目名称")
    private String cooperateProejctName;
    @ApiModelProperty(value = "合作商项目编码")
    private String cooperateProejctNum;
    @ApiModelProperty(value = "门店id")
    private Long storeId;
    @ApiModelProperty(value = "项目编码")
    private String projectNum;
    @ApiModelProperty(value = "项目名字")
    private String projectName;
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    @ApiModelProperty(value = "合作商编码")
    private String cooperateNum;
    @ApiModelProperty(value = "合作商名字")
    private String cooperateName;
    @ApiModelProperty(value = "合作商id")
    private Long cooperateId;
    @ApiModelProperty(value = "0固定抽成，1比例抽成")
    private Integer type;
    @ApiModelProperty(value = "项目金额")
    private BigDecimal projectMoney;
    @ApiModelProperty(value = "项目次数")
    private Integer projectNumber;
    @ApiModelProperty(value = "抽佣金额")
    private BigDecimal brokerage;
    @ApiModelProperty(value = "0直接收银项目，收银时抽佣；1疗程项目，销售时抽佣")
    private Integer isCourse;
    @ApiModelProperty(value = "添加人")
    private String inputBy;
    @ApiModelProperty(value = "添加时间")
    private Date inputDate;
    @ApiModelProperty(value = "修改人")
    private String updateBy;
    @ApiModelProperty(value = "修改时间")
    private Date updateDate;
}
