package cn.iocoder.yudao.module.archive.dal.dataobject.category;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
/**
|
* 档案-分类 DO(书架分类,分层)
|
*
|
* @author 超级管理员
|
*/
|
@TableName("archive_category")
|
@KeySequence("archive_category_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class ArchiveCategoryDO extends BaseDO {
|
|
@TableId
|
private Long id;
|
|
/** 父分类 ID,0=顶级 */
|
private Long parentId;
|
|
/** 分类名称 */
|
private String name;
|
|
/** 分类编码,唯一 */
|
private String code;
|
|
/** 显示排序 */
|
private Integer sort;
|
|
/** 分类说明 */
|
private String description;
|
|
/** 该分类下档案默认密级:1-公开 2-内部 3-保密 */
|
private Integer defaultSecretLevel;
|
|
/** 状态:0-启用 1-停用 */
|
private Integer status;
|
|
/** 备注 */
|
private String remark;
|
|
}
|