|
@@ -0,0 +1,355 @@
|
|
|
+package com.diagbot.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 患者信息表
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author wangyu
|
|
|
+ * @since 2018-11-19
|
|
|
+ */
|
|
|
+@TableName("icss_patient_info")
|
|
|
+public class PatientInfo implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 主键
|
|
|
+ */
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 是否删除,N:未删除,Y:删除
|
|
|
+ */
|
|
|
+ private String isDeleted;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 记录创建时间
|
|
|
+ */
|
|
|
+ private Date gmtCreate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 记录修改时间,如果时间是1970年则表示纪录未修改
|
|
|
+ */
|
|
|
+ private Date gmtModified;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建人,0表示无创建人值
|
|
|
+ */
|
|
|
+ private String creator;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改人,如果为0则表示纪录未修改
|
|
|
+ */
|
|
|
+ private String modifier;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 医院id
|
|
|
+ */
|
|
|
+ private Long hospitalId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 医院患者编号
|
|
|
+ */
|
|
|
+ private String code;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 患者姓名
|
|
|
+ */
|
|
|
+ private String name;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 性别
|
|
|
+ */
|
|
|
+ private String sex;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 出生日期
|
|
|
+ */
|
|
|
+ private LocalDateTime birthday;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 证件类型
|
|
|
+ */
|
|
|
+ private String idType;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 证件号码
|
|
|
+ */
|
|
|
+ private String idNo;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 家庭住址
|
|
|
+ */
|
|
|
+ private String address;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 联系电话
|
|
|
+ */
|
|
|
+ private String phone;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 身份证号
|
|
|
+ */
|
|
|
+ private String identityNum;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 家庭邮编
|
|
|
+ */
|
|
|
+ private String postcode;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 联系人
|
|
|
+ */
|
|
|
+ private String contacts;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 联系人电话
|
|
|
+ */
|
|
|
+ private String contactPhone;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 就职单位名称
|
|
|
+ */
|
|
|
+ private String workUnit;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 职业
|
|
|
+ */
|
|
|
+ private String operation;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 国籍
|
|
|
+ */
|
|
|
+ private String country;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 民族
|
|
|
+ */
|
|
|
+ private String nationality;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 婚姻状况:0未婚,1已婚,2未知
|
|
|
+ */
|
|
|
+ private Integer matrimony;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 备注
|
|
|
+ */
|
|
|
+ private String remark;
|
|
|
+
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+ public String getIsDeleted() {
|
|
|
+ return isDeleted;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIsDeleted(String isDeleted) {
|
|
|
+ this.isDeleted = isDeleted;
|
|
|
+ }
|
|
|
+ public Date getGmtCreate() {
|
|
|
+ return gmtCreate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setGmtCreate(Date gmtCreate) {
|
|
|
+ this.gmtCreate = gmtCreate;
|
|
|
+ }
|
|
|
+ public Date getGmtModified() {
|
|
|
+ return gmtModified;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setGmtModified(Date gmtModified) {
|
|
|
+ this.gmtModified = gmtModified;
|
|
|
+ }
|
|
|
+ public String getCreator() {
|
|
|
+ return creator;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreator(String creator) {
|
|
|
+ this.creator = creator;
|
|
|
+ }
|
|
|
+ public String getModifier() {
|
|
|
+ return modifier;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setModifier(String modifier) {
|
|
|
+ this.modifier = modifier;
|
|
|
+ }
|
|
|
+ public Long getHospitalId() {
|
|
|
+ return hospitalId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setHospitalId(Long hospitalId) {
|
|
|
+ this.hospitalId = hospitalId;
|
|
|
+ }
|
|
|
+ public String getCode() {
|
|
|
+ return code;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCode(String code) {
|
|
|
+ this.code = code;
|
|
|
+ }
|
|
|
+ public String getName() {
|
|
|
+ return name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setName(String name) {
|
|
|
+ this.name = name;
|
|
|
+ }
|
|
|
+ public String getSex() {
|
|
|
+ return sex;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSex(String sex) {
|
|
|
+ this.sex = sex;
|
|
|
+ }
|
|
|
+ public LocalDateTime getBirthday() {
|
|
|
+ return birthday;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBirthday(LocalDateTime birthday) {
|
|
|
+ this.birthday = birthday;
|
|
|
+ }
|
|
|
+ public String getIdType() {
|
|
|
+ return idType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIdType(String idType) {
|
|
|
+ this.idType = idType;
|
|
|
+ }
|
|
|
+ public String getIdNo() {
|
|
|
+ return idNo;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIdNo(String idNo) {
|
|
|
+ this.idNo = idNo;
|
|
|
+ }
|
|
|
+ public String getAddress() {
|
|
|
+ return address;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAddress(String address) {
|
|
|
+ this.address = address;
|
|
|
+ }
|
|
|
+ public String getPhone() {
|
|
|
+ return phone;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPhone(String phone) {
|
|
|
+ this.phone = phone;
|
|
|
+ }
|
|
|
+ public String getIdentityNum() {
|
|
|
+ return identityNum;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIdentityNum(String identityNum) {
|
|
|
+ this.identityNum = identityNum;
|
|
|
+ }
|
|
|
+ public String getPostcode() {
|
|
|
+ return postcode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPostcode(String postcode) {
|
|
|
+ this.postcode = postcode;
|
|
|
+ }
|
|
|
+ public String getContacts() {
|
|
|
+ return contacts;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setContacts(String contacts) {
|
|
|
+ this.contacts = contacts;
|
|
|
+ }
|
|
|
+ public String getContactPhone() {
|
|
|
+ return contactPhone;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setContactPhone(String contactPhone) {
|
|
|
+ this.contactPhone = contactPhone;
|
|
|
+ }
|
|
|
+ public String getWorkUnit() {
|
|
|
+ return workUnit;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setWorkUnit(String workUnit) {
|
|
|
+ this.workUnit = workUnit;
|
|
|
+ }
|
|
|
+ public String getOperation() {
|
|
|
+ return operation;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOperation(String operation) {
|
|
|
+ this.operation = operation;
|
|
|
+ }
|
|
|
+ public String getCountry() {
|
|
|
+ return country;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountry(String country) {
|
|
|
+ this.country = country;
|
|
|
+ }
|
|
|
+ public String getNationality() {
|
|
|
+ return nationality;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNationality(String nationality) {
|
|
|
+ this.nationality = nationality;
|
|
|
+ }
|
|
|
+ public Integer getMatrimony() {
|
|
|
+ return matrimony;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMatrimony(Integer matrimony) {
|
|
|
+ this.matrimony = matrimony;
|
|
|
+ }
|
|
|
+ public String getRemark() {
|
|
|
+ return remark;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRemark(String remark) {
|
|
|
+ this.remark = remark;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "PatientInfo{" +
|
|
|
+ "id=" + id +
|
|
|
+ ", isDeleted=" + isDeleted +
|
|
|
+ ", gmtCreate=" + gmtCreate +
|
|
|
+ ", gmtModified=" + gmtModified +
|
|
|
+ ", creator=" + creator +
|
|
|
+ ", modifier=" + modifier +
|
|
|
+ ", hospitalId=" + hospitalId +
|
|
|
+ ", code=" + code +
|
|
|
+ ", name=" + name +
|
|
|
+ ", sex=" + sex +
|
|
|
+ ", birthday=" + birthday +
|
|
|
+ ", idType=" + idType +
|
|
|
+ ", idNo=" + idNo +
|
|
|
+ ", address=" + address +
|
|
|
+ ", phone=" + phone +
|
|
|
+ ", identityNum=" + identityNum +
|
|
|
+ ", postcode=" + postcode +
|
|
|
+ ", contacts=" + contacts +
|
|
|
+ ", contactPhone=" + contactPhone +
|
|
|
+ ", workUnit=" + workUnit +
|
|
|
+ ", operation=" + operation +
|
|
|
+ ", country=" + country +
|
|
|
+ ", nationality=" + nationality +
|
|
|
+ ", matrimony=" + matrimony +
|
|
|
+ ", remark=" + remark +
|
|
|
+ "}";
|
|
|
+ }
|
|
|
+}
|