73 lines
1.8 KiB
Java
73 lines
1.8 KiB
Java
package com.rj.entity;
|
||
|
||
import com.baomidou.mybatisplus.annotation.TableName;
|
||
import com.baomidou.mybatisplus.annotation.TableId;
|
||
import com.baomidou.mybatisplus.annotation.TableField;
|
||
import java.time.LocalDateTime;
|
||
import java.io.Serializable;
|
||
import io.swagger.v3.oas.annotations.media.Schema;
|
||
import lombok.Data;
|
||
import lombok.EqualsAndHashCode;
|
||
|
||
/**
|
||
* <p>
|
||
* 待办事项表
|
||
* </p>
|
||
*
|
||
* @author system
|
||
* @since 2025-01-XX
|
||
*/
|
||
@Data
|
||
@EqualsAndHashCode(callSuper = false)
|
||
@TableName("todo_item")
|
||
@Schema(description = "待办事项表")
|
||
public class TodoItem implements Serializable {
|
||
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
@Schema(description = "主键,UUID")
|
||
@TableId("id")
|
||
private String id;
|
||
|
||
@Schema(description = "租户ID")
|
||
@TableField("tenant_id")
|
||
private String tenantId;
|
||
|
||
@Schema(description = "父ID,UUID,用于树状结构关联")
|
||
@TableField("parent_id")
|
||
private String parentId;
|
||
|
||
@Schema(description = "状态")
|
||
@TableField("status")
|
||
private String status;
|
||
|
||
@Schema(description = "待办事项简称")
|
||
@TableField("todo_title")
|
||
private String todoTitle;
|
||
|
||
@Schema(description = "待办事项详情")
|
||
@TableField("todo_detail")
|
||
private String todoDetail;
|
||
|
||
@Schema(description = "所属人姓名")
|
||
@TableField("owner_name")
|
||
private String ownerName;
|
||
|
||
@Schema(description = "所属人电话")
|
||
@TableField("owner_phone")
|
||
private String ownerPhone;
|
||
|
||
@Schema(description = "待处理日期")
|
||
@TableField("pending_date")
|
||
private LocalDateTime pendingDate;
|
||
|
||
@Schema(description = "创建时间")
|
||
@TableField("create_time")
|
||
private LocalDateTime createTime;
|
||
|
||
@Schema(description = "修改时间")
|
||
@TableField("update_time")
|
||
private LocalDateTime updateTime;
|
||
}
|
||
|