package com.sqx.modules.bl.commission.ywy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description bl_ywy_config
 * 业务员配置表
 * @author caolei
 * @date 2024-08-03
 */
@Data
@TableName("bl_ywy_config")
public class YwyConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * ID
     */
    private Long id;
    /**
     *是否启用 1启用 0关闭
     */
    private Integer isOpen;
    /**
     *审核 1启用 0关闭
     */
    private Integer isApprove;
    /**
     *业务员返佣
     */
    private BigDecimal salesmanRate;
    /**
     *技师承担
     */
    private BigDecimal artificerRate;
    /**
     *代理商承担
     */
    private BigDecimal agentRate;
    /**
     *业务员与渠道商分佣方式
     */
    private Integer type;
    /**
     *邀请业务员推广海报背景图
     */
    private String salesmanImage;
    /**
     *创建时间
     */
    private String createTime;

    public YwyConfig() {}
}
