package com.xcong.farmer.cms.modules.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.xcong.farmer.cms.common.system.base.BaseEntity;
|
import lombok.Data;
|
|
/**
|
* 栏目表
|
*/
|
@Data
|
@TableName("t_column")
|
public class ColumnEntity extends BaseEntity {
|
/**
|
* 导航栏 - 默认上级类目ID
|
*/
|
public static final Long PARENTID_DEFAULT = 0L;
|
|
// 栏目名称
|
private String columnName;
|
// 栏目编码
|
private String columnCode;
|
// 描述
|
private String remark;
|
// 排序
|
private Integer orderNum;
|
// 图片
|
private String pic;
|
// 上级类目ID
|
private Long parentId;
|
// 所属ID
|
private Long companyId;
|
|
// 列表页模板
|
private String listTemplate;
|
|
// 文章页模板
|
private String articleTemplate;
|
}
|