package com.ruoyi.business.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import lombok.Data;
|
import com.ruoyi.common.core.domain.MyBaseEntity;
|
|
/**
|
* 档案信息表,记录系统中各类档案的基本信息 实体类
|
*
|
* @author ruoyi
|
* @date 2025-06-10
|
*/
|
@Data
|
@TableName("archive")
|
public class Archive extends MyBaseEntity {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 关联tree ID
|
*/
|
@TableField(value = "tree_id")
|
private Long treeId;
|
/**
|
* 档案名称
|
*/
|
@TableField(value = "name")
|
private String name;
|
/**
|
* 档案类型,例如:合同、报告、证件等
|
*/
|
@TableField(value = "type")
|
private String type;
|
/**
|
* 档案状态,例如:有效、过期、作废
|
*/
|
@TableField(value = "status")
|
private String status;
|
}
|