From 05bd8781092de1a615542094b15bc2c1e9cd422e Mon Sep 17 00:00:00 2001 From: dongqin <123456> Date: Thu, 30 May 2019 15:08:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BE=AE=E4=BF=A1=E6=B5=8B?= =?UTF-8?q?=E9=87=8F=E4=BF=A1=E6=81=AFmodel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/lyms/platform/beans/SerialIdEnum.java | 3 +- .../com/lyms/platform/pojo/WxMeasureInfoModel.java | 215 +++++++++++++++++++++ 2 files changed, 217 insertions(+), 1 deletion(-) create mode 100644 platform-dal/src/main/java/com/lyms/platform/pojo/WxMeasureInfoModel.java diff --git a/platform-dal/src/main/java/com/lyms/platform/beans/SerialIdEnum.java b/platform-dal/src/main/java/com/lyms/platform/beans/SerialIdEnum.java index f00318c..1cf13d3 100644 --- a/platform-dal/src/main/java/com/lyms/platform/beans/SerialIdEnum.java +++ b/platform-dal/src/main/java/com/lyms/platform/beans/SerialIdEnum.java @@ -85,7 +85,8 @@ public enum SerialIdEnum { TemporaryWeightModel("TemporaryWeightModel", 97531049591L), TemporaryBloodModel("TemporaryBloodModel", 97541049591L), TemporaryBloodSugarModel("TemporaryWeightModel", 97551049591L), - BabyEyeCheck("BabyEyeCheck", 97521039591L); + BabyEyeCheck("BabyEyeCheck", 97521039591L), + WxMeasureInfoModel("WxMeasureInfoModel", 3394363185022868106L); private String cname; private Long cid; diff --git a/platform-dal/src/main/java/com/lyms/platform/pojo/WxMeasureInfoModel.java b/platform-dal/src/main/java/com/lyms/platform/pojo/WxMeasureInfoModel.java new file mode 100644 index 0000000..d536961 --- /dev/null +++ b/platform-dal/src/main/java/com/lyms/platform/pojo/WxMeasureInfoModel.java @@ -0,0 +1,215 @@ +package com.lyms.platform.pojo; + +import com.lyms.platform.beans.SerialIdEnum; +import com.lyms.platform.common.result.BaseModel; +import org.springframework.data.mongodb.core.mapping.Document; + +import java.io.Serializable; +import java.util.Date; +import java.util.List; +import java.util.Map; + +/** + * + * @Author dongqin + * @Description 小程序孕妇宫高、腹围等/儿保一般测量信息录入 + * @Date 14:34 2019/5/30 + */ +@Document(collection = "lyms_wx_measure_info") +public class WxMeasureInfoModel extends BaseModel implements Serializable { + + private static final long serialVersionUID = SerialIdEnum.WxMeasureInfoModel.getCid(); + + private String id; + + /** + * 孕妇/儿保 id + */ + private String patientId; + + /** + * 医院ID + */ + private String hospitalId; + + /** + * 1-孕妇小程序 2-儿保小程序 + */ + private String type; + + /** + * 创建更新时间 + */ + private Date createTime; + + /** + * 体温 + */ + private String temperature; + + /** + * 身高 + */ + private String height; + + /** + * 体重 + */ + private String weight; + + /** + * 头围 + */ + private String headWidth; + + /** + * 胸围 + */ + private String bust; + + /** + * 喂养 + */ + private String feed; + + + /** + * 宫高 + */ + private String gongGo; + + /** + * 腹围 + */ + private String abdomen; + + /** + * 胎心率 + */ + private String heartRate; + + /** + * 下次产检时间 + */ + private List checkDates; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getPatientId() { + return patientId; + } + + public void setPatientId(String patientId) { + this.patientId = patientId; + } + + public String getHospitalId() { + return hospitalId; + } + + public void setHospitalId(String hospitalId) { + this.hospitalId = hospitalId; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getTemperature() { + return temperature; + } + + public void setTemperature(String temperature) { + this.temperature = temperature; + } + + public String getHeight() { + return height; + } + + public void setHeight(String height) { + this.height = height; + } + + public String getWeight() { + return weight; + } + + public void setWeight(String weight) { + this.weight = weight; + } + + public String getHeadWidth() { + return headWidth; + } + + public void setHeadWidth(String headWidth) { + this.headWidth = headWidth; + } + + public String getBust() { + return bust; + } + + public void setBust(String bust) { + this.bust = bust; + } + + public String getFeed() { + return feed; + } + + public void setFeed(String feed) { + this.feed = feed; + } + + public String getGongGo() { + return gongGo; + } + + public void setGongGo(String gongGo) { + this.gongGo = gongGo; + } + + public String getAbdomen() { + return abdomen; + } + + public void setAbdomen(String abdomen) { + this.abdomen = abdomen; + } + + public String getHeartRate() { + return heartRate; + } + + public void setHeartRate(String heartRate) { + this.heartRate = heartRate; + } + + public List getCheckDates() { + return checkDates; + } + + public void setCheckDates(List checkDates) { + this.checkDates = checkDates; + } +} -- 1.8.3.1