package com.sqx.modules.bl.commission.ywy.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;

/**
 * @description bl_ywy_apply
 * 业务员申请表
 * @author caolei
 * @date 2024-08-03
 */
@Data
@TableName("bl_ywy_apply")
public class YwyApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * ID
     */
    private Long id;
    /**
     *用户ID
     */
    private Long userId;
    /**
     *姓名
     */
    private String name;
    /**
     *电话
     */
    private String phone;
    /**
     *头像
     */
    @TableField(exist = false)
    private String avatar;
    /**
     *昵称
     */
    @TableField(exist = false)
    private String userName;
    /**
     *邀请码
     */
    @TableField(exist = false)
    private String invitationCode;
    /**
     *备注
     */
    private String remarks;
    /**
     *状态
     */
    private Integer status;
    /**
     *审批意见
     */
    private String opinion;
    /**
     *创建时间
     */
    private String createTime;
    /**
     *审批时间
     */
    private String approveTime;
    /**
     *审批人
     */
    private Long approveUser;
    /**
     *开始时间
     */
    @TableField(exist = false)
    private String startTime;
    /**
     *结束时间
     */
    @TableField(exist = false)
    private String endTime;

    @TableField(exist = false)
    private Integer page;

    @TableField(exist = false)
    private Integer limit;

    @TableField(exist = false)
    private Integer userPage;

    @TableField(exist = false)
    private Integer userLimit;

    public YwyApply() {}
}
