From 907641e56c2085aaa81f267946dc3e3e9fca73e7 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 18 九月 2024 09:39:02 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/java/com/smartor/domain/PatArchive.java | 449 +++++++++++++++++++++++++++++++------------------------ 1 files changed, 254 insertions(+), 195 deletions(-) diff --git a/smartor/src/main/java/com/smartor/domain/PatArchive.java b/smartor/src/main/java/com/smartor/domain/PatArchive.java index e493974..20725ab 100644 --- a/smartor/src/main/java/com/smartor/domain/PatArchive.java +++ b/smartor/src/main/java/com/smartor/domain/PatArchive.java @@ -1,7 +1,13 @@ package com.smartor.domain; import java.util.Date; +import java.util.List; + import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiImplicitParam; +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; import com.ruoyi.common.annotation.Excel; @@ -9,252 +15,305 @@ /** * 鎮h�呮。妗堝璞� pat_archive - * + * * @author smartor * @date 2023-03-04 */ -public class PatArchive extends BaseEntity -{ +@ApiModel(value = "PatArchive", description = "鎮h�呮。妗堝璞�") +@Data +public class PatArchive extends BaseEntity { private static final long serialVersionUID = 1L; - /** 鑷ID */ - private Long patid; + /** + * 鑷ID + */ + @ApiModelProperty("鑷ID") + private Long id; - /** 濮撳悕 */ + /** + * 鐖禝D + */ + @ApiModelProperty("鐖禝D") + private Long pid; + + /** + * GUID + */ + @ApiModelProperty("GUID") + private String guid; + + /** + * 濮撳悕 + */ + @ApiModelProperty("鎮h�呯紪鍙�") + @Excel(name = " 鎮h�呯紪鍙� ") + private String patientno; + + /** + * 鏈嶅姟鏍囪瘑锛�0锛岄渶瑕侊紝1锛屼笉闇�瑕� + */ + @ApiModelProperty("鏈嶅姟鏍囪瘑锛�0锛岄渶瑕侊紝1锛屼笉闇�瑕�") + @Excel(name = " 鏈嶅姟鏍囪瘑锛�0锛岄渶瑕侊紝1锛屼笉闇�瑕� ") + private String notrequiredFlag; + + /** + * 涓嶈鏈嶅姟鐨勫師鍥� + */ + @ApiModelProperty("涓嶈鏈嶅姟鐨勫師鍥�") + @Excel(name = " 涓嶈鏈嶅姟鐨勫師鍥� ") + private String notrequiredreason; + + /** + * 鏉ユ簮(1锛欻IS锛�2锛氭暟鎹钩鍙帮紱3锛氭枃浠跺鍏ワ級 + */ + @ApiModelProperty("鏉ユ簮(1锛欻IS锛�2锛氭暟鎹钩鍙帮紱3锛氭枃浠跺鍏ワ級") + @Excel(name = " 鏉ユ簮(1锛欻IS锛�2锛氭暟鎹钩鍙帮紱3锛氭枃浠跺鍏ワ級 ") + private Integer sourcefrom; + + /** + * his绯荤粺鐨勬偅鑰卛d + */ + @ApiModelProperty("his绯荤粺鐨勬偅鑰卛d") + @Excel(name = "his绯荤粺鐨勬偅鑰卛d") + private Integer patidHis; + + /** + * his绯荤粺鐨勬偅鑰卛d + */ + @ApiModelProperty("his绯荤粺鐨勬偅鑰卛d") + @Excel(name = "his绯荤粺鐨勬偅鑰卛d") + private String sdFlag; + + /** + * 濮撳悕 + */ + @ApiModelProperty("濮撳悕") @Excel(name = " 濮撳悕 ") private String name; - /** 鎬у埆 1:鐢� 2:濂�*/ + /** + * 鎬у埆 1:鐢� 2:濂� + */ + @ApiModelProperty("鎬у埆") @Excel(name = " 鎬у埆 ") private Long sex; - /** 璇佷欢鍙风爜 */ - @Excel(name = " 璇佷欢鍙风爜 ") - private String iccardno; + /** + * 璇佷欢绫诲瀷 + */ + @ApiModelProperty("璇佷欢绫诲瀷") + @Excel(name = " 璇佷欢绫诲瀷 ") + private String idcardtype; - /** 鐢熸棩 */ + + /** + * 璇佷欢鍙风爜 + */ + @ApiModelProperty("绫嶈疮") + @Excel(name = " 绫嶈疮 ") + private String nativePlace; + + /** + * 浣忛櫌鍙� + */ + @ApiModelProperty(value = "浣忛櫌鍙�") + private String inhospno; + + /** + * 璇佷欢鍙风爜 + */ + @ApiModelProperty("灞呬綇鍦�") + @Excel(name = " 灞呬綇鍦� ") + private String placeOfResidence; + + /** + * 璇佷欢鍙风爜 + */ + @ApiModelProperty("鍑虹敓鍦�") + @Excel(name = " 鍑虹敓鍦� ") + private String birthplace; + + /** + * 璇佷欢鍙风爜 + */ + @ApiModelProperty("璇佷欢鍙风爜") + @Excel(name = " 璇佷欢鍙风爜 ") + private String idcardno; + + /** + * 鐢熸棩 + */ + @ApiModelProperty("鐢熸棩") @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = " 鐢熸棩 ", width = 30, dateFormat = "yyyy-MM-dd") private Date birthdate; - /** 骞撮緞 */ + /** + * 鍏ラ櫌鏃堕棿 + */ + @ApiModelProperty("鍏ラ櫌鏃堕棿") + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = " 鐢熸棩 ", width = 30, dateFormat = "yyyy-MM-dd") + private Date inhosptime; + + /** + * 骞撮緞 + */ + @ApiModelProperty("骞撮緞") @Excel(name = " 骞撮緞 ") private Long age; + /** + * 骞撮緞 + */ + @ApiModelProperty("骞撮緞鍗曚綅") + @Excel(name = " 骞撮緞鍗曚綅 ") + private String ageUnit; - /** 鏉ユ簮 */ - @Excel(name = " 鏉ユ簮 ") - private Long source; - - /** 寤烘。鏃堕棿 */ + /** + * 寤烘。鏃堕棿 + */ + @ApiModelProperty("寤烘。鏃堕棿") + @Excel(name = " 寤烘。鏃堕棿 ") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date archivetime; - /** 寤烘。浜� */ + /** + * 寤烘。浜� + */ + @ApiModelProperty("寤烘。浜�") + @Excel(name = " 寤烘。浜� ") private String archiveby; - /** 鎵嬫満鍙风爜 */ + /** + * 鎵嬫満鍙风爜 + */ + @ApiModelProperty("鎵嬫満鍙风爜") @Excel(name = " 鎵嬫満鍙风爜 ") private String telcode; - /** 浜插睘鍙风爜 */ + + /** + * 浜插睘鍙风爜 + */ + @ApiModelProperty("浜插睘鍙风爜") + @Excel(name = " 浜插睘鍙风爜 ") private String relativetelcode; - /** 璇佷欢绫诲瀷 */ - private String iccardtype; + /** + * 姘戞棌 + */ + @ApiModelProperty("姘戞棌") + @Excel(name = " 姘戞棌 ") + private String nation; - /** 鏈烘瀯ID */ + /** + * 鏈烘瀯ID + */ + @ApiModelProperty("鏈烘瀯ID") @Excel(name = " 鏈烘瀯ID ") private String orgid; - /** 寰俊openid */ + /** + * 寰俊openid + */ + @ApiModelProperty("寰俊openid") + @Excel(name = " 寰俊openid ") private String openid; - /** 鍒犻櫎鏍囪 */ + /** + * 鍒犻櫎鏍囪 + */ + @ApiModelProperty("鍒犻櫎鏍囪") private String delFlag; - /** 涓婁紶鏍囪 */ + /** + * 涓婁紶鏍囪 + */ + @ApiModelProperty("涓婁紶鏍囪") private Long isupload; - /** 涓婁紶鏃堕棿 */ + /** + * 涓婁紶鏃堕棿 + */ + @ApiModelProperty("涓婁紶鏃堕棿") private Date uploadTime; - public void setPatid(Long patid) - { - this.patid = patid; - } + /** + * 鏍囩 + */ + @ApiModelProperty("鏍囩") + @Excel(name = " 鏍囩 ", cellType = Excel.ColumnType.STRING) + private String tag; - public Long getPatid() - { - return patid; - } - public void setName(String name) - { - this.name = name; - } + /** + * 鏍囩 + */ + @ApiModelProperty("鏍囩id") + @Excel(name = " 鏍囩id ", cellType = Excel.ColumnType.STRING) + private Long tagid; - public String getName() - { - return name; - } - public void setSex(Long sex) - { - this.sex = sex; - } + @ApiModelProperty("鏍囩闆嗗悎") + private List<PatArchivetag> tagList; - public Long getSex() - { - return sex; - } - public void setIccardno(String iccardno) - { - this.iccardno = iccardno; - } + /** + * 鏍囩 + */ + @ApiModelProperty("鎮h�呯被鍨�") + @Excel(name = " 鎮h�呯被鍨� ", cellType = Excel.ColumnType.STRING) + private String pattype; - public String getIccardno() - { - return iccardno; - } - public void setBirthdate(Date birthdate) - { - this.birthdate = birthdate; - } + /** + * 閽夐拤鍙� + */ + @ApiModelProperty("閽夐拤鍙�") + @Excel(name = " 閽夐拤鍙� ") + private String dduserid; - public Date getBirthdate() - { - return birthdate; - } - public void setAge(Long age) - { - this.age = age; - } + /** + * 閽夐拤鍙� + */ + @ApiModelProperty("绉戝") + @Excel(name = " 绉戝 ") + private String dept; - public Long getAge() - { - return age; - } - public void setSource(Long source) - { - this.source = source; - } + /** + * 閽夐拤鍙� + */ + @ApiModelProperty("绉戝") + @Excel(name = " 绉戝 ") + private String deptcode; + /** + * 鍖荤敓濮撳悕 + */ + @ApiModelProperty("鍖荤敓濮撳悕") + @Excel(name = " 鍖荤敓濮撳悕 ") + private String drname; - public Long getSource() - { - return source; - } - public void setArchivetime(Date archivetime) - { - this.archivetime = archivetime; - } + /** + * 鍖荤敓缂栫爜 + */ + @ApiModelProperty("鍖荤敓缂栫爜") + @Excel(name = " 鍖荤敓缂栫爜 ") + private String drcode; - public Date getArchivetime() - { - return archivetime; - } - public void setArchiveby(String archiveby) - { - this.archiveby = archiveby; - } + /** + * 閽夐拤鍙� + */ + @ApiModelProperty("绉戝") + @Excel(name = " 绉戝 ") + private String bedNo; - public String getArchiveby() - { - return archiveby; - } - public void setTelcode(String telcode) - { - this.telcode = telcode; - } + /** + * 浼氬憳灞炴��:0闈炰細鍛橈紝1涓�鑸細鍛樸��2閲嶈浼氬憳 + */ + @ApiModelProperty("浼氬憳灞炴��:0闈炰細鍛橈紝1涓�鑸細鍛樸��2閲嶈浼氬憳") + @Excel(name = " 浼氬憳灞炴��:0闈炰細鍛橈紝1涓�鑸細鍛樸��2閲嶈浼氬憳 ") + private String viptype; - public String getTelcode() - { - return telcode; - } - public void setRelativetelcode(String relativetelcode) - { - this.relativetelcode = relativetelcode; - } + @ApiModelProperty("鍑洪櫌鐥呭尯鍚嶇О") + private String leavehospitaldistrictname; - public String getRelativetelcode() - { - return relativetelcode; - } - public void setIccardtype(String iccardtype) - { - this.iccardtype = iccardtype; - } + @ApiModelProperty("鍑洪櫌鐥呭尯缂栧彿") + private String leavehospitaldistrictcode; - public String getIccardtype() - { - return iccardtype; - } - public void setOrgid(String orgid) - { - this.orgid = orgid; - } - - public String getOrgid() - { - return orgid; - } - public void setOpenid(String openid) - { - this.openid = openid; - } - - public String getOpenid() - { - return openid; - } - public void setDelFlag(String delFlag) - { - this.delFlag = delFlag; - } - - public String getDelFlag() - { - return delFlag; - } - public void setIsupload(Long isupload) - { - this.isupload = isupload; - } - - public Long getIsupload() - { - return isupload; - } - public void setUploadTime(Date uploadTime) - { - this.uploadTime = uploadTime; - } - - public Date getUploadTime() - { - return uploadTime; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("patid", getPatid()) - .append("name", getName()) - .append("sex", getSex()) - .append("iccardno", getIccardno()) - .append("birthdate", getBirthdate()) - .append("age", getAge()) - .append("source", getSource()) - .append("archivetime", getArchivetime()) - .append("archiveby", getArchiveby()) - .append("telcode", getTelcode()) - .append("relativetelcode", getRelativetelcode()) - .append("iccardtype", getIccardtype()) - .append("orgid", getOrgid()) - .append("openid", getOpenid()) - .append("delFlag", getDelFlag()) - .append("updateBy", getUpdateBy()) - .append("updateTime", getUpdateTime()) - .append("createBy", getCreateBy()) - .append("createTime", getCreateTime()) - .append("isupload", getIsupload()) - .append("uploadTime", getUploadTime()) - .toString(); - } } -- Gitblit v1.9.3