package com.aitori.entity; import com.baomidou.mybatisplus.annotation.*; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.io.Serial; import java.io.Serializable; import java.time.LocalDateTime; @Data @TableName("t_user_message") @Schema(description = "消息推送表") public class TUserMessage implements Serializable { @Serial private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Integer id; @Schema(description = "用户id") private Integer userId; @Schema(description = "标题") private String title; @Schema(description = "内容") private String content; @Schema(description = "缩略图") private String thumbUrl; @Schema(description = "状态 0:已删除 1:可用") private Integer status; @Schema(description = "已读状态 0:未读 1:已读") private Integer readStatus; @Schema(description = "消息类型 0:订单已支付 1:训练分身 2:训练分身完成 3:训练写真 4:训练写真完成") private Integer type; @Schema(description = "订单id") private String orderId; @Schema(description = "相册id") private Integer albumId; @TableField(fill = FieldFill.INSERT) @Schema(description = "创建时间") private LocalDateTime createTime; @TableField(fill = FieldFill.INSERT_UPDATE) @Schema(description = "最后更新时间") private LocalDateTime updateTime; }