package com.tcm.training.admin.app.notice.entity;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Getter;
|
import lombok.NoArgsConstructor;
|
import lombok.Setter;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* APP 统一系统通知实体。
|
*/
|
@TableName("tcm_app_system_notice")
|
@Getter
|
@Setter
|
@NoArgsConstructor
|
public class AppSystemNotice {
|
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
@TableField("app_user_id")
|
private Long appUserId;
|
|
@TableField("notice_type_code")
|
private String noticeTypeCode;
|
|
@TableField("title")
|
private String title;
|
|
@TableField("content")
|
private String content;
|
|
@TableField("reference_type")
|
private String referenceType;
|
|
@TableField("reference_id")
|
private Long referenceId;
|
|
@TableField("payload_json")
|
private String payloadJson;
|
|
@TableField("push_status")
|
private String pushStatus;
|
|
@TableField("push_error_message")
|
private String pushErrorMessage;
|
|
@TableField("pushed_at")
|
private LocalDateTime pushedAt;
|
|
@TableField("read_at")
|
private LocalDateTime readAt;
|
|
@TableLogic
|
private Integer deleted;
|
|
@TableField(value = "created_by", fill = FieldFill.INSERT)
|
private String createdBy;
|
|
@TableField(value = "updated_by", fill = FieldFill.INSERT_UPDATE)
|
private String updatedBy;
|
|
@TableField("created_at")
|
private LocalDateTime createdAt;
|
|
@TableField("updated_at")
|
private LocalDateTime updatedAt;
|
}
|