Commit 6fcc6258483cb6ea3e8b6befc73c0708c390a164
1 parent
02596987ca
Exists in
master
and in
6 other branches
序列化
Showing 4 changed files with 10 additions and 2 deletions
platform-dal/src/main/java/com/lyms/platform/beans/SerialIdEnum.java
View file @
6fcc625
... | ... | @@ -105,8 +105,10 @@ |
105 | 105 | ExerciseAppraisalModel("ExerciseAppraisalModel", 993491777685035796L), |
106 | 106 | AfterVisitPelvicFloorModel("AfterVisitPelvicFloorModel", -534393866388205106L), |
107 | 107 | BabyAppointmentBuildModel("BabyAppointmentBuildModel",356770820236242411L), |
108 | - MatdeliverFollowPushModel("MatdeliverFollowPushModel", -5956731779920504355L) | |
109 | - | |
108 | + MatdeliverFollowPushModel("MatdeliverFollowPushModel", -5956731779920504355L), | |
109 | + PreEugenicsBaseModel("PreEugenicsBaseModel", 7673224106500008116L), | |
110 | + PregnantDeathModel("PregnantDeathModel", 7244731601920572967L), | |
111 | + CervicalCancerModel("CervicalCancerModel", 4302505773278441592L) | |
110 | 112 | ; |
111 | 113 | |
112 | 114 | private String cname; |
platform-dal/src/main/java/com/lyms/platform/pojo/CervicalCancerModel.java
View file @
6fcc625
... | ... | @@ -5,6 +5,7 @@ |
5 | 5 | |
6 | 6 | import org.springframework.data.mongodb.core.mapping.Document; |
7 | 7 | |
8 | +import com.lyms.platform.beans.SerialIdEnum; | |
8 | 9 | import com.lyms.platform.common.result.BaseModel; |
9 | 10 | |
10 | 11 | /** |
... | ... | @@ -15,6 +16,7 @@ |
15 | 16 | @Document(collection = "lyms_cervical_cancer") |
16 | 17 | public class CervicalCancerModel extends BaseModel { |
17 | 18 | |
19 | + private static final long serialVersionUID = SerialIdEnum.CervicalCancerModel.getCid(); | |
18 | 20 | /** |
19 | 21 | * 主键 |
20 | 22 | */ |
platform-dal/src/main/java/com/lyms/platform/pojo/PreEugenicsBaseModel.java
View file @
6fcc625
1 | 1 | package com.lyms.platform.pojo; |
2 | 2 | |
3 | 3 | import com.fasterxml.jackson.annotation.JsonFormat; |
4 | +import com.lyms.platform.beans.SerialIdEnum; | |
4 | 5 | import com.lyms.platform.common.result.BaseModel; |
5 | 6 | import com.lyms.platform.common.utils.DateUtil; |
6 | 7 | import lombok.Data; |
... | ... | @@ -20,6 +21,7 @@ |
20 | 21 | @Data |
21 | 22 | public class PreEugenicsBaseModel extends BaseModel { |
22 | 23 | |
24 | + private static final long serialVersionUID = SerialIdEnum.PreEugenicsBaseModel.getCid(); | |
23 | 25 | /** |
24 | 26 | * id |
25 | 27 | */ |
platform-dal/src/main/java/com/lyms/platform/pojo/PregnantDeathModel.java
View file @
6fcc625
... | ... | @@ -5,6 +5,7 @@ |
5 | 5 | |
6 | 6 | import org.springframework.data.mongodb.core.mapping.Document; |
7 | 7 | |
8 | +import com.lyms.platform.beans.SerialIdEnum; | |
8 | 9 | import com.lyms.platform.common.result.BaseModel; |
9 | 10 | |
10 | 11 | |
... | ... | @@ -16,6 +17,7 @@ |
16 | 17 | @Document(collection = "lyms_pregnant_death") |
17 | 18 | public class PregnantDeathModel extends BaseModel { |
18 | 19 | |
20 | + private static final long serialVersionUID = SerialIdEnum.PregnantDeathModel.getCid(); | |
19 | 21 | /** |
20 | 22 | * 主键 |
21 | 23 | */ |