| | |
| | | @TableName(value = "annotation_directory") |
| | | public class AnnotationDirectoryEntity implements Serializable { |
| | | |
| | | @TableId(type = IdType.AUTO) |
| | | private Integer id; |
| | | /** |
| | | * 主键UUID |
| | | */ |
| | | @TableId(type = IdType.ASSIGN_UUID) // 自动生成UUID |
| | | private String id; |
| | | |
| | | /** |
| | | * 目录名称 |
| | | */ |
| | | @TableField(value = "directory_name") |
| | | private String directoryName; |
| | | |
| | | /** |
| | | * 是否可见:true=可见,false=不可见(默认true) |
| | | */ |
| | | @TableField(value = "is_true") |
| | | private Boolean isTrue = true; // 显式设置默认值,避免空值 |
| | | |
| | | /** |
| | | * 目录备注 |
| | | */ |
| | | @TableField(value = "directory_remark") |
| | | private String directoryRemark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(value = "create_time", fill = FieldFill.INSERT) |
| | | private Long createTime; |
| | | |
| | | /** |
| | | * 更新时间 |
| | | */ |
| | | @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE) |
| | | private Long updateTime; |
| | | |