package com.gear.swx.domain;
|
|
import com.gear.common.annotation.Excel;
|
import com.gear.common.annotation.Where;
|
import com.gear.common.enums.Condition;
|
import lombok.Data;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.gear.common.core.domain.BusiBaseEntity;
|
|
/**
|
* 内容管理对象 swx_contents
|
*
|
* @author czx
|
* @date 2023-11-25
|
*/
|
@Data
|
@TableName("swx_contents")
|
public class SwxContents extends BusiBaseEntity {
|
|
private static final long serialVersionUID=1L;
|
|
/** $column.columnComment */
|
@TableId(type = IdType.ASSIGN_ID)
|
private String id;
|
|
/** 内容类型 */
|
@Excel(name = "内容类型")
|
@Where(value = Condition.eq,column = "type")
|
private Integer type;
|
|
/** 标题 */
|
@Excel(name = "标题")
|
private String title;
|
|
/** 内容 */
|
@Excel(name = "内容")
|
private String info;
|
|
/** 状态 */
|
@Excel(name = "状态")
|
private Integer status;
|
|
/** 排序 */
|
@Excel(name = "排序")
|
private Integer sortNum;
|
|
@Where(value = Condition.eq,column = "language")
|
private Integer language;
|
|
}
|