package com.ltkj.hosp.domain;
|
|
import com.ltkj.common.annotation.Excel;
|
import com.ltkj.common.core.domain.BaseEntity;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
/**
|
* 邮件短信模板对象 tj_send_template
|
*
|
* @author ltkj_赵佳豪&李格
|
* @date 2023-05-15
|
*/
|
public class TjSendTemplate extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
private Long id;
|
|
/**
|
* 模板标题
|
*/
|
@Excel(name = "模板标题")
|
private String tempTitle;
|
|
/**
|
* 模板内容
|
*/
|
@Excel(name = "模板内容")
|
private String tempContent;
|
|
/**
|
* 模板类型
|
*/
|
@Excel(name = "模板类型",dictType="tj_send_type")
|
private String tempType;
|
|
/**
|
* 停用标志
|
*/
|
@Excel(name = "停用标志",readConverterExp="0=启用,1=禁用")
|
private String flag;
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setTempTitle(String tempTitle) {
|
this.tempTitle = tempTitle;
|
}
|
|
public String getTempTitle() {
|
return tempTitle;
|
}
|
|
public void setTempContent(String tempContent) {
|
this.tempContent = tempContent;
|
}
|
|
public String getTempContent() {
|
return tempContent;
|
}
|
|
public void setTempType(String tempType) {
|
this.tempType = tempType;
|
}
|
|
public String getTempType() {
|
return tempType;
|
}
|
|
public void setFlag(String flag) {
|
this.flag = flag;
|
}
|
|
public String getFlag() {
|
return flag;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("tempTitle", getTempTitle())
|
.append("tempContent", getTempContent())
|
.append("tempType", getTempType())
|
.append("deleted", getDeleted())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.append("flag", getFlag())
|
.toString();
|
}
|
}
|