package com.zcloud.fire.check.persistence.dataobject;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jjb.saas.framework.repository.basedo.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * web-infrastructure
 *
 * @Author zhaokai
 * @Date 2025-10-30 10:10:48
 */
@Data
@TableName("department")
@EqualsAndHashCode(callSuper = true)
public class DepartmentDO extends BaseDO {

    //部门id
    @ApiModelProperty(value = "部门id")
    private String departmentId;
    //名称
    @ApiModelProperty(value = "名称")
    private String name;
    //父部门id
    @ApiModelProperty(value = "父部门id")
    private Long parentId;
    //所属企业
    @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-是")
    private Integer securityFlag;
    @ApiModelProperty(value = "部门职能")
    private String departmentFunction;

}

