package com.ltkj.hosp.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
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;
|
|
/**
|
* 知识库对象 dict_emer
|
*
|
* @author ltkj
|
* @date 2023-03-22
|
*/
|
@Data
|
public class DictEmer extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
@TableId(type = IdType.AUTO)
|
@JsonSerialize(using = ToStringSerializer.class)
|
private Long id;
|
|
/**
|
* 知识库类型
|
*/
|
@Excel(name = "知识库类型")
|
@ApiModelProperty(value = "知识库类型")
|
private String emertype;
|
|
/**
|
* 知识库标题
|
*/
|
@Excel(name = "知识库标题")
|
@ApiModelProperty(value = "知识库标题")
|
private String emertitle;
|
|
/**
|
* 知识库内容
|
*/
|
@Excel(name = "知识库内容")
|
@ApiModelProperty(value = "知识库内容")
|
private String emercontent;
|
|
/**
|
* 知识库标题拼音码
|
*/
|
@Excel(name = "知识库标题拼音码")
|
@ApiModelProperty(value = "知识库标题拼音码")
|
private String emerpym;
|
|
/**
|
* 启用标志
|
*/
|
@Excel(name = "启用标志")
|
@ApiModelProperty(value = "启用标志")
|
private String qybz;
|
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setEmertype(String emertype) {
|
this.emertype = emertype;
|
}
|
|
public String getEmertype() {
|
return emertype;
|
}
|
|
public void setEmertitle(String emertitle) {
|
this.emertitle = emertitle;
|
}
|
|
public String getEmertitle() {
|
return emertitle;
|
}
|
|
public void setEmercontent(String emercontent) {
|
this.emercontent = emercontent;
|
}
|
|
public String getEmercontent() {
|
return emercontent;
|
}
|
|
public void setEmerpym(String emerpym) {
|
this.emerpym = emerpym;
|
}
|
|
public String getEmerpym() {
|
return emerpym;
|
}
|
|
public void setQybz(String qybz) {
|
this.qybz = qybz;
|
}
|
|
public String getQybz() {
|
return qybz;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("emertype", getEmertype())
|
.append("emertitle", getEmertitle())
|
.append("emercontent", getEmercontent())
|
.append("emerpym", getEmerpym())
|
.append("qybz", getQybz())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.append("deleted", getDeleted())
|
.toString();
|
}
|
}
|