package com.ltkj.hosp.domain;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ltkj.common.annotation.Excel;
|
import com.ltkj.common.core.domain.BaseEntity;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
|
/**
|
* 在线excel设计器对象 jimu_report
|
*
|
* @author ltkj_赵佳豪&李格
|
* @date 2023-04-23
|
*/
|
@Data
|
public class JimuReport {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(type = IdType.AUTO)
|
private String id;
|
|
/**
|
* 编码
|
*/
|
@Excel(name = "编码")
|
private String code;
|
|
/**
|
* 名称
|
*/
|
@Excel(name = "名称")
|
private String name;
|
|
/**
|
* 说明
|
*/
|
@Excel(name = "说明")
|
private String note;
|
|
/**
|
* 状态
|
*/
|
private String status;
|
|
/**
|
* 类型
|
*/
|
@Excel(name = "类型")
|
private String type;
|
|
/**
|
* json字符串
|
*/
|
private String jsonStr;
|
|
/**
|
* 请求地址
|
*/
|
private String apiUrl;
|
|
/**
|
* 缩略图
|
*/
|
private String thumb;
|
|
/**
|
* 删除标识0-正常,1-已删除
|
*/
|
private Integer delFlag;
|
|
/**
|
* 请求方法0-get,1-post
|
*/
|
private String apiMethod;
|
|
/**
|
* 请求编码
|
*/
|
private String apiCode;
|
|
/**
|
* 是否是模板 0-是,1-不是
|
*/
|
@Excel(name = "是否是模板 0-是,1-不是")
|
private Integer template;
|
|
/**
|
* 浏览次数
|
*/
|
private Long viewCount;
|
|
/**
|
* css增强
|
*/
|
private String cssStr;
|
|
/**
|
* js增强
|
*/
|
private String jsStr;
|
|
/**
|
* 多租户标识
|
*/
|
private String tenantId;
|
|
/**
|
* 打印模板类型
|
*/
|
@Excel(name = "打印模板类型")
|
private String printType;
|
|
/**
|
* 启用状态
|
*/
|
@Excel(name = "启用状态")
|
private String isStart;
|
|
/**
|
* 创建时间
|
*/
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField(fill = FieldFill.INSERT)
|
@ApiModelProperty(value = "创建时间")
|
private Date createTime;
|
|
/**
|
* 创建者
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
@ApiModelProperty(value = "创建人")
|
private String createBy;
|
|
/**
|
* 更新者
|
*/
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@ApiModelProperty(value = "修改人")
|
private String updateBy;
|
|
/**
|
* 更新时间
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@ApiModelProperty(value = "更新时间")
|
private Date updateTime;
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setNote(String note) {
|
this.note = note;
|
}
|
|
public String getNote() {
|
return note;
|
}
|
|
public void setStatus(String status) {
|
this.status = status;
|
}
|
|
public String getStatus() {
|
return status;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setJsonStr(String jsonStr) {
|
this.jsonStr = jsonStr;
|
}
|
|
public String getJsonStr() {
|
return jsonStr;
|
}
|
|
public void setApiUrl(String apiUrl) {
|
this.apiUrl = apiUrl;
|
}
|
|
public String getApiUrl() {
|
return apiUrl;
|
}
|
|
public void setThumb(String thumb) {
|
this.thumb = thumb;
|
}
|
|
public String getThumb() {
|
return thumb;
|
}
|
|
public void setDelFlag(Integer delFlag) {
|
this.delFlag = delFlag;
|
}
|
|
public Integer getDelFlag() {
|
return delFlag;
|
}
|
|
public void setApiMethod(String apiMethod) {
|
this.apiMethod = apiMethod;
|
}
|
|
public String getApiMethod() {
|
return apiMethod;
|
}
|
|
public void setApiCode(String apiCode) {
|
this.apiCode = apiCode;
|
}
|
|
public String getApiCode() {
|
return apiCode;
|
}
|
|
public void setTemplate(Integer template) {
|
this.template = template;
|
}
|
|
public Integer getTemplate() {
|
return template;
|
}
|
|
public void setViewCount(Long viewCount) {
|
this.viewCount = viewCount;
|
}
|
|
public Long getViewCount() {
|
return viewCount;
|
}
|
|
public void setCssStr(String cssStr) {
|
this.cssStr = cssStr;
|
}
|
|
public String getCssStr() {
|
return cssStr;
|
}
|
|
public void setJsStr(String jsStr) {
|
this.jsStr = jsStr;
|
}
|
|
public String getJsStr() {
|
return jsStr;
|
}
|
|
public void setTenantId(String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public String getTenantId() {
|
return tenantId;
|
}
|
|
public void setPrintType(String printType) {
|
this.printType = printType;
|
}
|
|
public String getPrintType() {
|
return printType;
|
}
|
|
public void setIsStart(String isStart) {
|
this.isStart = isStart;
|
}
|
|
public String getIsStart() {
|
return isStart;
|
}
|
public String getCreateBy() {
|
return createBy;
|
}
|
|
public void setCreateBy(String createBy) {
|
this.createBy = createBy;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getUpdateBy() {
|
return updateBy;
|
}
|
|
public void setUpdateBy(String updateBy) {
|
this.updateBy = updateBy;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("code", getCode())
|
.append("name", getName())
|
.append("note", getNote())
|
.append("status", getStatus())
|
.append("type", getType())
|
.append("jsonStr", getJsonStr())
|
.append("apiUrl", getApiUrl())
|
.append("thumb", getThumb())
|
.append("delFlag", getDelFlag())
|
.append("apiMethod", getApiMethod())
|
.append("apiCode", getApiCode())
|
.append("template", getTemplate())
|
.append("viewCount", getViewCount())
|
.append("cssStr", getCssStr())
|
.append("jsStr", getJsStr())
|
.append("tenantId", getTenantId())
|
.append("printType", getPrintType())
|
.append("isStart", getIsStart())
|
.toString();
|
}
|
}
|