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.
41 lines
678 B
Java
41 lines
678 B
Java
5 years ago
|
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 String firstCategoryName;
|
||
|
|
||
|
/**
|
||
|
* 2级分类名称
|
||
|
*/
|
||
|
private String secondCategoryName;
|
||
|
|
||
|
/**
|
||
|
* 关键字
|
||
|
*/
|
||
|
private String keyword;
|
||
|
|
||
|
/**
|
||
|
* 形式 0-图文 1-视频
|
||
|
*/
|
||
|
private Integer fileType;
|
||
|
|
||
|
/**
|
||
|
* 文章文字
|
||
|
*/
|
||
|
private byte[] content;
|
||
|
}
|