package com.zcloud.basic.info.dto.clientobject;

import com.alibaba.cola.dto.ClientObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;


/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-10-30 10:10:48
 */
@Data
public class DepartmentInfoCO extends ClientObject {
    //主键
    @ApiModelProperty(value = "主键")
    private Long id;
    //部门id
    @ApiModelProperty(value = "部门id")
    private String departmentId;
    //名称
    @ApiModelProperty(value = "名称")
    private String name;
    //父部门id
    @ApiModelProperty(value = "父部门id")
    private Long parentId;
    @ApiModelProperty(value = "父部门名称")
    private String parentName;
    //所属企业
    @ApiModelProperty(value = "所属企业")
    private Long corpinfoId;
    //部门级别编码
    @ApiModelProperty(value = "部门级别编码")
    private String level;
    //部门级别名称
    @ApiModelProperty(value = "部门级别名称")
    private String levelName;
    //部门排序
    @ApiModelProperty(value = "部门排序")
    private Integer depOrder;
    //是否监管部门 0-否  1-是
    @ApiModelProperty(value = "是否监管部门 0-否  1-是")
    private Integer superviseFlag;
    @ApiModelProperty(value = "是否安全管理部门 0-否  1-是", name = "securityFlag")
    private Integer securityFlag;
    @ApiModelProperty(value = "部门职能")
    private String departmentFunction;
    //乐观锁
    @ApiModelProperty(value = "乐观锁")
    private Integer version;
    //创建人
    @ApiModelProperty(value = "创建人")
    private Long createId;
    //创建人姓名
    @ApiModelProperty(value = "创建人姓名")
    private String createName;
    //创建时间
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    //更新人
    @ApiModelProperty(value = "更新人")
    private Long updateId;
    //修改人名称
    @ApiModelProperty(value = "修改人名称")
    private String updateName;
    //更新时间
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    //描述
    @ApiModelProperty(value = "描述")
    private String remarks;
    //是否删除
    @ApiModelProperty(value = "是否删除")
    private String deleteEnum;
    //租户ID
    @ApiModelProperty(value = "租户ID")
    private Long tenantId;
    //机构ID
    @ApiModelProperty(value = "机构ID")
    private Long orgId;
    //环境
    @ApiModelProperty(value = "环境")
    private String env;
    @ApiModelProperty(value = "监管部门权限", name = "departmentIdsList")
    private List<Long> departmentIdsList;
}

