package com.ktg.iscs.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.model.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 单位管理对象 is_unit
 *
 * @author cgj
 * @date 2024-12-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IsUnit extends BaseBean
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "单位ID")
    @TableId(type = IdType.AUTO)
    private Long unitId;

    @ApiModelProperty(value = "单位名称")
    @Excel(name = "单位名称")
    private String unitName;

    @ApiModelProperty(value = "单位类型")
    @Excel(name = "单位类型")
    private String unitType;

    @ApiModelProperty(value = "父部门id")
    @Excel(name = "父部门id")
    private Long parentId;

    @ApiModelProperty(value = "祖级列表")
    @Excel(name = "祖级列表")
    private String ancestors;

    @ApiModelProperty(value = "显示顺序")
    @Excel(name = "显示顺序")
    private Integer orderNum;

    @ApiModelProperty(value = "状态")
    @Excel(name = "状态")
    private String status;

    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

}
