You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.jingcheng.cms.model;
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
import lombok.Data;
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
|
|
|
@Data
|
|
|
|
@EqualsAndHashCode(callSuper = false)
|
|
|
|
@TableName("article")
|
|
|
|
public class Article extends BaseEntity{
|
|
|
|
/**
|
|
|
|
* 文章标题
|
|
|
|
*/
|
|
|
|
private String title;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 1级分类名称
|
|
|
|
*/
|
|
|
|
private Long firstCategory;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 2级分类名称
|
|
|
|
*/
|
|
|
|
private Long secondCategory;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 关键字
|
|
|
|
*/
|
|
|
|
private String keyword;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 形式 0-图文 1-视频
|
|
|
|
*/
|
|
|
|
private Integer fileType;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 文章文字
|
|
|
|
*/
|
|
|
|
private String content;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 描述
|
|
|
|
*/
|
|
|
|
private String describe;
|
|
|
|
}
|