package com.ld.igds.models;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import com.ld.igds.constant.Constant;
|
|
import lombok.Data;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
*大屏标语
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_DIC_SLOGAN")
|
public class DicSlogan implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "ID_", length = 50)
|
@PropertyDef(label = "编号")
|
private String id;
|
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码")
|
private String companyId;
|
|
|
@Column(name = "NAME_", length = 50)
|
@PropertyDef(label = "名称")
|
private String name;
|
|
@Column(name = "CONTENT_", length = 100)
|
@PropertyDef(label = "标语内容")
|
private String content;
|
|
/**
|
* N为 不使用,Y位使用,同组织只有一条使用
|
*/
|
@Column(name = "STATUS_", length = 10)
|
@PropertyDef(label = "状态" )
|
private String status = Constant.YN_N;
|
/**
|
*
|
* 目前只有默认和红色 default ,red
|
*/
|
@Column(name = "COLOR_", length = 20)
|
@PropertyDef(label = "颜色" )
|
private String color ;
|
|
@Column(name = "CREATE_USER_", length = 50)
|
@PropertyDef(label = "创建人" )
|
private String createUser ;
|
|
@Column(name = "CREATE_TIME_")
|
@PropertyDef(label = "创建时间" )
|
private Date createTime ;
|
|
@Column(name = "UPDATE_USER_", length = 50)
|
@PropertyDef(label = "修改人" )
|
private String updateUser ;
|
|
@Column(name = "UPDATE_TIME_")
|
@PropertyDef(label = "修改时间" )
|
private Date updateTime ;
|
|
@Column(name = "PUSH_USER_", length = 50)
|
@PropertyDef(label = "推送人" )
|
private String pushUser ;
|
|
@Column(name = "PUSH_TIME_")
|
@PropertyDef(label = "发布时间" )
|
private Date pushTime ;
|
}
|