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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
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_jjr_data
 * 经纪人数据
 * @author caolei
 * @date 2024-08-03
 */
@Data
@TableName("bl_jjr_data")
public class JjrData implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * ID
     */
    private Long id;
    /**
     *技师用户ID
     */
    @TableField(exist = false)
    private Long artificerUserId;
    /**
     *经纪人用户ID
     */
    @TableField(exist = false)
    private Long userId;
    /**
     *姓名
     */
    @TableField(exist = false)
    private String name;
    /**
     *电话
     */
    @TableField(exist = false)
    private String phone;
    /**
     *头像
     */
    @TableField(exist = false)
    private String avatar;
    /**
     *昵称
     */
    @TableField(exist = false)
    private String userName;
    /**
     *邀请码
     */
    @TableField(exist = false)
    private String invitationCode;
    /**
     *比例
     */
    @TableField(exist = false)
    private BigDecimal rate;
    /**
     *备注
     */
    @TableField(exist = false)
    private String remarks;
    /**
     *状态
     */
    @TableField(exist = false)
    private Integer status;
    /**
     *累计邀请技师
     */
    @TableField(exist = false)
    private Integer artificerCount;
    /**
     *累计成交订单数量
     */
    @TableField(exist = false)
    private Integer ordersCount;
    /**
     *累计获得佣金
     */
    @TableField(exist = false)
    private BigDecimal money;
    /**
     *入住时间
     */
    @TableField(exist = false)
    private String approveTime;
    /**
     *开始时间
     */
    @TableField(exist = false)
    private String startTime;
    /**
     *结束时间
     */
    @TableField(exist = false)
    private String endTime;

    @TableField(exist = false)
    private Integer page;

    @TableField(exist = false)
    private Integer limit;

    public JjrData() {}
}
