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

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author 吴凯程
 * @Date 2025/2/8
 **/
@Data
@ApiModel(value = "网格关联表", description = "")
@TableName("grid_region_cust_user")
public class RegionCustUser implements Serializable {

    /**  */
    @ApiModelProperty(name = "", notes = "")
    @TableId(type = IdType.AUTO)
    private Long id;
    /** 一级网格id */
    @ApiModelProperty(name = "一级网格id", notes = "")
    private Long topGridId;

    @Excel(name = "一级网格名称")
    private String topGridName;

    @ApiModelProperty(value = "一级网格责任类型", notes = "1责任 2竞争")
    @Excel(name = "一级网格责任类型")
    private String topGridDutyType;

    /** 二级网格id */
    @ApiModelProperty(name = "二级网格id", notes = "")
    private Long secGridId;

    @Excel(name = "二级网格名称")
    private String secGridName;

    @ApiModelProperty(value = "二级网格责任类型", notes = "1责任 2竞争")
    @Excel(name = "二级网格责任类型")
    private String secGridDutyType;

    /** 行政编码 */
    @ApiModelProperty(name = "行政编码", notes = "")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String code;

    @ApiModelProperty(name = "行政区划名称", notes = "")
    @Excel(name = "行政区划")
    private String regionName;

    /** 业务归属 */
    @ApiModelProperty(name = "业务归属", notes = "")
    private String opsDept;
    /** 创建者 */
    @ApiModelProperty(name = "创建者", notes = "")
    @Excel(name = "创建者")
    private String creator;
    /** 创建者id */
    @ApiModelProperty(name = "创建者id", notes = "")
    private Long creatorId;
    /** 创建者名称 */
    @ApiModelProperty(name = "创建者名称", notes = "")
    private String creatorName;
    /** 创建机构 */
    @ApiModelProperty(name = "创建机构", notes = "")
    private Long createDeptId;
    /** 创建机构名称 */
    @ApiModelProperty(name = "创建机构名称", notes = "")
    private String createDeptName;
    /** 客户号 */
    @ApiModelProperty(name = "客户号", notes = "")
    @Excel(name = "客户号")
    private String custId;
    /** 客户名称 */
    @ApiModelProperty(name = "客户名称", notes = "")
    @Excel(name = "客户姓名")
    private String custName;
    /** 客户类型 */
    @ApiModelProperty(name = "客户类型", notes = "")
    @Excel(name = "客户类型", readConverterExp = "0=个人,1=商户,2=企业")
    private String custType;
    /** 柜员号 */
    @ApiModelProperty(name = "柜员号", notes = "")
    private String userNames;
    /** 柜员名称 */
    @ApiModelProperty(name = "归属客户经理", notes = "")
    @Excel(name = "归属客户经理")
    private String nickNames;
    /** 支行机构号 */
    @ApiModelProperty(name = "支行机构号", notes = "")
    private String branchIds;
    /** 支行机构名称 */
    @ApiModelProperty(name = "支行机构名称", notes = "")
    @Excel(name = "归属支行")
    private String branchNames;
    /** 网点机构号 */
    @ApiModelProperty(name = "网点机构号", notes = "")
    private String outletIds;
    /** 网点机构名称 */
    @ApiModelProperty(name = "网点机构名称", notes = "")
    @Excel(name = "归属网点")
    private String outletNames;
}
