ScreenUserContext.java 2.8 KB
package com.skua.modules.screenconfig.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 用户大屏描述表
 */
@Data
@TableName("screen_user_context")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="screen_user_context对象", description="用户大屏描述表")
public class ScreenUserContext {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**内容编码*/
	@Excel(name = "内容编码", width = 15)
    @ApiModelProperty(value = "内容编码")
	private String contextCode;
	/**内容名称*/
	@Excel(name = "内容名称", width = 15)
    @ApiModelProperty(value = "内容名称")
	private String contextName;
	/**用户id(0为默认配置)*/
	@Excel(name = "用户id(0为默认配置)", width = 15)
    @ApiModelProperty(value = "用户id(0为默认配置)")
	private String userId;
	/**内容描述*/
	@Excel(name = "内容描述", width = 15)
    @ApiModelProperty(value = "内容描述")
	private String contextDesc;
	/**内容标题*/
	@Excel(name = "内容标题", width = 15)
    @ApiModelProperty(value = "内容标题")
	private String contextTitle;
	/**内容单位*/
	@Excel(name = "内容单位", width = 15)
    @ApiModelProperty(value = "内容单位")
	private String contextUnit;
	/**大屏类型(1,集团。2,单厂)*/
	@Excel(name = "大屏类型(1,集团。2,单厂)", width = 15)
    @ApiModelProperty(value = "大屏类型(1,集团。2,单厂)")
	private String screenType;
	/**创建人Id*/
	@Excel(name = "创建人Id", width = 15)
    @ApiModelProperty(value = "创建人Id")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
	private String createDept;
	/**所属公司*/
	@Excel(name = "所属公司", width = 15)
    @ApiModelProperty(value = "所属公司")
	private String createCmpy;
	/**删除标识,1有效,0删除*/
	@Excel(name = "删除标识,1有效,0删除", width = 15)
    @ApiModelProperty(value = "删除标识,1有效,0删除")
	private Integer delFlag;
}