package com.ruoyi.system.domain.pojo.config;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
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 lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 关于鸿瑞堂
|
* </p>
|
*
|
* @author jqs
|
* @since 2023-05-25
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_article")
|
public class Article extends Model<Article> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 文章id
|
*/
|
@TableId(value = "article_id", type = IdType.AUTO)
|
private Long articleId;
|
/**
|
* 删除标记
|
*/
|
@TableField("del_flag")
|
private Integer delFlag;
|
/**
|
* 分类id
|
*/
|
@TableField("class_id")
|
private Long classId;
|
/**
|
* 文章排序
|
*/
|
@TableField("article_sort")
|
private Integer articleSort;
|
/**
|
* 文章标题
|
*/
|
@TableField("article_title")
|
private String articleTitle;
|
/**
|
* 文章详情
|
*/
|
@TableField("article_detail")
|
private String articleDetail;
|
/**
|
* 文章封面
|
*/
|
@TableField("article_cover")
|
private String articleCover;
|
/**
|
* 文章视频
|
*/
|
@TableField("article_video")
|
private String articleVideo;
|
/**
|
* 创建时间
|
*/
|
@TableField("create_time")
|
private Date createTime;
|
/**
|
* 创建用户id
|
*/
|
@TableField("create_user_id")
|
private Long createUserId;
|
/**
|
* 更新时间
|
*/
|
@TableField("update_time")
|
private Date updateTime;
|
/**
|
* 更新用户id
|
*/
|
@TableField("update_user_id")
|
private Long updateUserId;
|
|
@TableField("article_introduce")
|
private String articleIntroduce;
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.articleId;
|
}
|
|
}
|