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

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.ibs.grid.domain.entity.VirtualCust;
import com.ruoyi.ibs.grid.domain.entity.VirtualGridRule;
import com.ruoyi.ibs.grid.domain.entity.VirtualUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author 吴凯程
 * @Date 2024/9/18
 **/
@Data
@TableName("grid_virtual_grid")
public class VirtualGridVO {

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

    @ApiModelProperty(value = "网格创建类型", notes = "1导入客户 2导入管护")
    private String createMode;
    /**
     * 网格名
     */
    @ApiModelProperty(value = "网格名", notes = "")
    private String gridName;
    /**
     * 网格类型
     */
    @ApiModelProperty(value = "网格类型", notes = "")
    private String gridType;
    /**
     * 是否个人
     */
    @ApiModelProperty(value = "是否个人", notes = "")
    private Boolean hasRetail;
    /**
     * 是否企业
     */
    @ApiModelProperty(value = "是否企业", notes = "")
    private Boolean hasBusiness;
    /**
     * 是否商户
     */
    @ApiModelProperty(value = "是否商户", notes = "")
    private Boolean hasRetailBusiness;
    /**
     * 分配方式;1指定 2分配引擎
     */
    @ApiModelProperty(value = "分配方式", notes = "1指定 2分配引擎")
    private String gridAssignType;
    /**
     * 网格责任类型;1责任 2竞争
     */
    @ApiModelProperty(value = "网格责任类型", notes = "1责任 2竞争")
    private String gridDutyType;

    @ApiModelProperty(value = "归属部室 0零售 1公司 2运管")
    private String opsDept;

    @ApiModelProperty(value = "关联机构用户", notes = "")
    private List<VirtualUser> virtualUserList;

    @ApiModelProperty(value = "网格关联客户列表", notes = "")
    private List<VirtualCust> virtualCustUserList;

    @ApiModelProperty(value = "网格分配规则列表", notes = "")
    private List<VirtualGridRule> gridVirtualRulesDTOList;
}
