package com.smartor.domain;
|
|
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
/**
|
* 病史对象 medical_history
|
*
|
* @author ruoyi
|
* @date 2023-12-06
|
*/
|
@Data
|
@ApiModel(value = "MedicalHistory", description = "病史对象")
|
public class MedicalHistory extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* $column.columnComment
|
*/
|
@ApiModelProperty(value = "主键")
|
private Long id;
|
|
/**
|
* 过往疾病
|
*/
|
@Excel(name = "过往疾病")
|
@ApiModelProperty(value = "过往疾病")
|
private String pastIllnesses;
|
|
/**
|
* 药物过敏
|
*/
|
@Excel(name = "药物过敏")
|
@ApiModelProperty(value = "药物过敏")
|
private String drugAllergy;
|
|
/**
|
* 家族病史
|
*/
|
@Excel(name = "家族病史")
|
@ApiModelProperty(value = "家族病史")
|
private String familyHistory;
|
|
/**
|
* 手术史
|
*/
|
@Excel(name = "手术史")
|
@ApiModelProperty(value = "手术史")
|
private String surgicalHistory;
|
|
/**
|
* 生育史
|
*/
|
@Excel(name = "生育史")
|
@ApiModelProperty(value = "生育史")
|
private String reproductiveHistory;
|
|
/**
|
* 月经史
|
*/
|
@Excel(name = "月经史")
|
@ApiModelProperty(value = "月经史")
|
private String menstrualHistory;
|
|
/**
|
* 吸烟情况
|
*/
|
@Excel(name = "吸烟情况")
|
@ApiModelProperty(value = "吸烟情况")
|
private String smoking;
|
|
/**
|
* 饮酒情况
|
*/
|
@Excel(name = "饮酒情况")
|
@ApiModelProperty(value = "饮酒情况")
|
private String drink;
|
|
/**
|
* 运动情况
|
*/
|
@Excel(name = "运动情况")
|
@ApiModelProperty(value = "运动情况")
|
private String motion;
|
|
/**
|
* 饮食情况
|
*/
|
@Excel(name = "饮食情况")
|
@ApiModelProperty(value = "饮食情况")
|
private String diet;
|
|
/**
|
* 心理情况
|
*/
|
@Excel(name = "心理情况")
|
@ApiModelProperty(value = "心理情况")
|
private String psychology;
|
|
/**
|
* 患者id
|
*/
|
@Excel(name = "患者id")
|
@ApiModelProperty(value = "患者id")
|
private Long pid;
|
|
/**
|
* pageNum
|
*/
|
@ApiModelProperty(value = "pageNum")
|
@Excel(name = "pageNum")
|
private Integer pageNum;
|
|
/**
|
* pageSize
|
*/
|
@ApiModelProperty(value = "pageSize")
|
@Excel(name = "pageSize")
|
private Integer pageSize;
|
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("pastIllnesses", getPastIllnesses()).append("drugAllergy", getDrugAllergy()).append("familyHistory", getFamilyHistory()).append("surgicalHistory", getSurgicalHistory()).append("reproductiveHistory", getReproductiveHistory()).append("menstrualHistory", getMenstrualHistory()).append("smoking", getSmoking()).append("drink", getDrink()).append("motion", getMotion()).append("diet", getDiet()).append("psychology", getPsychology()).append("pid", getPid()).toString();
|
}
|
}
|