package com.xcong.excoin.modules.helpCenter.entity;
|
|
import java.util.Date;
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import lombok.Data;
|
|
/**
|
* 帮助中心公告
|
*/
|
@Data
|
@TableName("help_center_notice")
|
public class HelpCenterNoticeEntity {
|
|
@TableId(value = "id",type = IdType.AUTO)
|
private Long id;
|
/**
|
* 创建者
|
*/
|
private String createBy;
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date createTime;
|
/**
|
* 所属类别(1:最新公告2:重要公告)
|
*/
|
private int articleNotice;
|
/**
|
* 文章id
|
*/
|
private Long articleId;
|
/**
|
*文章标题
|
*/
|
private String articleTitle;
|
/**
|
* 文章id
|
*/
|
private Long articleIdUs;
|
/**
|
*文章标题
|
*/
|
private String articleTitleUs;
|
|
@TableField(exist = false)
|
private String createTimeString;
|
|
|
|
}
|