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("tree")
|
public class Tree extends MyBaseEntity {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
/**
|
*
|
*/
|
@TableField(value = "name")
|
private String name;
|
/**
|
*
|
*/
|
@TableField(value = "parent_id")
|
private Long parentId;
|
}
|