package com.dev.entity;
|
|
|
import com.app.base.entity.BaseEntity;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import org.hibernate.annotations.DynamicUpdate;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Table;
|
import java.util.Date;
|
|
/**
|
* 报表
|
*
|
*/
|
@Entity(name = "ApiLargeScreen")
|
@Table(name = ApiLargeScreen.TABLE_NAME)
|
@DynamicUpdate
|
@ApiModel
|
public class ApiLargeScreen extends BaseEntity {
|
|
public static final String TABLE_NAME = "API_LARGE_SCREEN";
|
|
/**
|
* 报表编码
|
*/
|
@ApiModelProperty(name = "bsCode", value = "报表编码")
|
@Column(length = 40)
|
private String bsCode;
|
|
/**
|
* 看板标题
|
*/
|
@ApiModelProperty(name = "bsTitle", value = "看板标题")
|
@Column(length = 600)
|
private String bsTitle;
|
|
/**
|
* 宽度px
|
*/
|
@ApiModelProperty(name = "bsWidth", value = "宽度px")
|
@Column(length = 10)
|
private Long bsWidth;
|
|
/**
|
* 高度px
|
*/
|
@ApiModelProperty(name = "bsHeight", value = "高度px")
|
@Column(length = 10)
|
private Long bsHeight;
|
|
/**
|
* 背景色
|
*/
|
@ApiModelProperty(name = "bsBackgroundColor", value = "背景色")
|
@Column(length = 60)
|
private String bsBackgroundColor;
|
|
/**
|
* 背景图片
|
*/
|
@ApiModelProperty(name = "bsBackgroundImage", value = "背景图片")
|
@Column(length = 200)
|
private String bsBackgroundImage;
|
|
/**
|
* 自动刷新间隔秒
|
*/
|
@ApiModelProperty(name = "bsRefreshSeconds", value = "自动刷新间隔秒")
|
@Column(length = 30)
|
private Integer bsRefreshSeconds;
|
|
/**
|
* 0--已禁用 1--已启用 dic_name=enable_flag
|
*/
|
@ApiModelProperty(name = "bsEnableFlag", value = "0--已禁用 1--已启用")
|
@Column(length = 30)
|
private Integer bsEnableFlag;
|
|
/**
|
* 排序,降序S
|
*/
|
@ApiModelProperty(name = "bsort", value = "排序")
|
@Column(length = 10)
|
private Integer bsort;
|
|
public static String getTableName() {
|
return TABLE_NAME;
|
}
|
|
public String getBsCode() {
|
return bsCode;
|
}
|
|
public void setBsCode(String bsCode) {
|
this.bsCode = bsCode;
|
}
|
|
public String getBsTitle() {
|
return bsTitle;
|
}
|
|
public void setBsTitle(String bsTitle) {
|
this.bsTitle = bsTitle;
|
}
|
|
public Long getBsWidth() {
|
return bsWidth;
|
}
|
|
public void setBsWidth(Long bsWidth) {
|
this.bsWidth = bsWidth;
|
}
|
|
public Long getBsHeight() {
|
return bsHeight;
|
}
|
|
public void setBsHeight(Long bsHeight) {
|
this.bsHeight = bsHeight;
|
}
|
|
public String getBsBackgroundColor() {
|
return bsBackgroundColor;
|
}
|
|
public void setBsBackgroundColor(String bsBackgroundColor) {
|
this.bsBackgroundColor = bsBackgroundColor;
|
}
|
|
public String getBsBackgroundImage() {
|
return bsBackgroundImage;
|
}
|
|
public void setBsBackgroundImage(String bsBackgroundImage) {
|
this.bsBackgroundImage = bsBackgroundImage;
|
}
|
|
public Integer getBsRefreshSeconds() {
|
return bsRefreshSeconds;
|
}
|
|
public void setBsRefreshSeconds(Integer bsRefreshSeconds) {
|
this.bsRefreshSeconds = bsRefreshSeconds;
|
}
|
|
public Integer getBsEnableFlag() {
|
return bsEnableFlag;
|
}
|
|
public void setBsEnableFlag(Integer bsEnableFlag) {
|
this.bsEnableFlag = bsEnableFlag;
|
}
|
|
|
public Integer getBsort() {
|
return bsort;
|
}
|
|
public void setBsort(Integer bsort) {
|
this.bsort = bsort;
|
}
|
|
|
}
|