package com.ruoyi.ibs.draw.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author 吴凯程
 * @Date 2024/9/18
 **/
@Data
@TableName("grid_draw_user_relate")
public class DrawGridUserRelate implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", name = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 网格id
     */
    @ApiModelProperty(value = "网格id", notes = "")
    private Long gridId;

    /**
     * 客户经理柜员号
     */
    @ApiModelProperty(value = "客户经理柜员号", notes = "")
    private String nickName;

    /**
     * 客户经理姓名
     */
    @ApiModelProperty(value = "客户经理姓名", notes = "")
    private String userName;

    /**
     * 机构号
     */
    @ApiModelProperty(value = "机构号", notes = "")
    private Long relateDeptId;

    /**
     * 机构名
     */
    @ApiModelProperty(value = "机构名", notes = "")
    private String relateDeptName;

    /**
     * 机构层级;（head：总行，branch支行，outlet网点））
     */
    @ApiModelProperty(value = "机构层级", notes = "（head：总行，branch支行，outlet网点））")
    private String relateDeptType;

    /**
     * 机构号
     */
    @ApiModelProperty(value = "机构号", notes = "")
    private Long relateBranchId;

    /**
     * 机构名
     */
    @ApiModelProperty(value = "机构名", notes = "")
    private String relateBranchName;

    /**
     * 机构号
     */
    @ApiModelProperty(value = "机构号", notes = "")
    private Long relateOutletId;

    /**
     * 机构名
     */
    @ApiModelProperty(value = "机构名", notes = "")
    private String relateOutletName;

    /**
     * 删除标识
     */
    @TableLogic
    private Boolean deleteFlag;


}
