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

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author 吴凯程
 * @Date 2025/1/8
 **/
@Data
public class RegionGridListVO implements Serializable {

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

    @ApiModelProperty(value = "关联支行", notes = "")
    String relateBranchNames;

    /**
     * 网格名
     */
    @ApiModelProperty(value = "网格名", notes = "")
    private String gridName;
    @ApiModelProperty(value = "上级网格主键", name = "id")
    private Long parentGridId;

    @ApiModelProperty(value = "归属部室 0零售 1公司 2运管")
    @Valid
    @NotNull(message = "归属部室不能为空")
    private String opsDept;
    /**
     * 网格责任类型;1责任 2竞争
     */
    @ApiModelProperty(value = "网格责任类型", notes = "1责任 2竞争")
    private String gridDutyType;
    @ApiModelProperty(value = "上级网格名", notes = "")
    private String parentGridName;
    @ApiModelProperty(value = "创建者", notes = "")
    private String creator;

    private Long deptId;
    @ApiModelProperty(value = "创建部门", notes = "")
    private String createDeptName;
    @ApiModelProperty(value = "关联网点", notes = "")
    private String relateOutletNames;

    @ApiModelProperty(value = "关联客户经理", notes = "")
    private String relateUserNames;

    @ApiModelProperty(value = "二级网格", notes = "")
    private String secGrids;

    @ApiModelProperty(value = "个人客户数", notes = "")
    private Long retailCount;

    @ApiModelProperty(value = "商户客户数", notes = "")
    private Long merchantCount;

    @ApiModelProperty(value = "企业客户数", notes = "")
    private Long businessCount;

    @ApiModelProperty(value = "能否编辑删除", notes = "")
    private Boolean isEdit;

    @ApiModelProperty(value = "能否创建", notes = "")
    private Boolean isCreate;

    private String regionNames;
}
