Commit 55d01d6cc11618276f9185676a7384d016ac13fd
1 parent
ae6c31ed3a
Exists in
master
and in
6 other branches
加序列化
Showing 2 changed files with 7 additions and 1 deletions
platform-dal/src/main/java/com/lyms/platform/beans/SerialIdEnum.java
View file @
55d01d6
| ... | ... | @@ -55,6 +55,7 @@ |
| 55 | 55 | PatientTicketId("PatientTicketId", 97531000440L), |
| 56 | 56 | PatientCheckTicket("PatientCheckTicket", 97531000450L), |
| 57 | 57 | AntExPRecordModel("AntExPRecordModel", 97531000451L), |
| 58 | + PatientWeight("PatientWeight", 97531000111L), | |
| 58 | 59 | last("last", 97531009990L); |
| 59 | 60 | private String cname; |
| 60 | 61 | private Long cid; |
platform-dal/src/main/java/com/lyms/platform/pojo/PatientWeight.java
View file @
55d01d6
| 1 | 1 | package com.lyms.platform.pojo; |
| 2 | 2 | |
| 3 | +import com.lyms.platform.beans.SerialIdEnum; | |
| 4 | +import com.lyms.platform.common.result.BaseModel; | |
| 3 | 5 | import org.springframework.data.mongodb.core.mapping.Document; |
| 4 | 6 | |
| 5 | 7 | import java.util.Date; |
| ... | ... | @@ -10,7 +12,10 @@ |
| 10 | 12 | * 孕产妇体重管理 |
| 11 | 13 | */ |
| 12 | 14 | @Document(collection="lyms_patient_weight") |
| 13 | -public class PatientWeight { | |
| 15 | +public class PatientWeight extends BaseModel { | |
| 16 | + | |
| 17 | + | |
| 18 | + private static final long serialVersionUID = SerialIdEnum.PatientWeight.getCid(); | |
| 14 | 19 | |
| 15 | 20 | private String id; |
| 16 | 21 |