Commit 69c966284a9b33bfdb28021aa024577a2dbbc792
1 parent
37abd8ba5e
Exists in
master
and in
6 other branches
孕妇学校
Showing 5 changed files with 15 additions and 1 deletions
- platform-common/src/main/java/com/lyms/platform/common/enums/CourseStatusEnums.java
- platform-dal/src/main/java/com/lyms/platform/beans/SerialIdEnum.java
- platform-dal/src/main/java/com/lyms/platform/pojo/CourseModel.java
- platform-dal/src/main/java/com/lyms/platform/pojo/CourseTypeModel.java
- platform-dal/src/main/java/com/lyms/platform/pojo/PatientCourseModel.java
platform-common/src/main/java/com/lyms/platform/common/enums/CourseStatusEnums.java
View file @
69c9662
platform-dal/src/main/java/com/lyms/platform/beans/SerialIdEnum.java
View file @
69c9662
| ... | ... | @@ -66,6 +66,11 @@ |
| 66 | 66 | DiagnoseConfigModel("DiagnoseConfigModel", 97531039990L), |
| 67 | 67 | DiagnoseItemModel("DiagnoseItemModel", 97531039590L), |
| 68 | 68 | CancerScreeningModel("CancerScreeningModel", 97531039591L), |
| 69 | + | |
| 70 | + CourseModel("CourseModel", 97531029990L), | |
| 71 | + CourseTypeModel("CourseTypeModel", 97831039590L), | |
| 72 | + PatientCourseModel("PatientCourseModel", 92531039591L), | |
| 73 | + | |
| 69 | 74 | BabyEyeCheck("BabyEyeCheck", 97521039591L); |
| 70 | 75 | private String cname; |
| 71 | 76 | private Long cid; |
platform-dal/src/main/java/com/lyms/platform/pojo/CourseModel.java
View file @
69c9662
| 1 | 1 | package com.lyms.platform.pojo; |
| 2 | 2 | |
| 3 | +import com.lyms.platform.beans.SerialIdEnum; | |
| 3 | 4 | import com.lyms.platform.common.result.BaseModel; |
| 4 | 5 | import org.springframework.data.mongodb.core.mapping.Document; |
| 5 | 6 | |
| ... | ... | @@ -11,6 +12,8 @@ |
| 11 | 12 | */ |
| 12 | 13 | @Document(collection="lyms_course") |
| 13 | 14 | public class CourseModel extends BaseModel { |
| 15 | + | |
| 16 | + private static final long serialVersionUID = SerialIdEnum.CourseModel.getCid(); | |
| 14 | 17 | |
| 15 | 18 | private String id; |
| 16 | 19 | //课程名称 |
platform-dal/src/main/java/com/lyms/platform/pojo/CourseTypeModel.java
View file @
69c9662
| 1 | 1 | package com.lyms.platform.pojo; |
| 2 | 2 | |
| 3 | +import com.lyms.platform.beans.SerialIdEnum; | |
| 3 | 4 | import com.lyms.platform.common.result.BaseModel; |
| 4 | 5 | import org.springframework.data.mongodb.core.mapping.Document; |
| 5 | 6 | |
| ... | ... | @@ -11,6 +12,8 @@ |
| 11 | 12 | */ |
| 12 | 13 | @Document(collection="lyms_coursetype") |
| 13 | 14 | public class CourseTypeModel extends BaseModel { |
| 15 | + | |
| 16 | + private static final long serialVersionUID = SerialIdEnum.CourseTypeModel.getCid(); | |
| 14 | 17 | |
| 15 | 18 | private String id; |
| 16 | 19 | //课程类型名称 |
platform-dal/src/main/java/com/lyms/platform/pojo/PatientCourseModel.java
View file @
69c9662
| 1 | 1 | package com.lyms.platform.pojo; |
| 2 | 2 | |
| 3 | +import com.lyms.platform.beans.SerialIdEnum; | |
| 3 | 4 | import com.lyms.platform.common.result.BaseModel; |
| 4 | 5 | import org.springframework.data.mongodb.core.mapping.Document; |
| 5 | 6 | |
| ... | ... | @@ -11,6 +12,8 @@ |
| 11 | 12 | */ |
| 12 | 13 | @Document(collection="lyms_patient_course") |
| 13 | 14 | public class PatientCourseModel extends BaseModel { |
| 15 | + | |
| 16 | + private static final long serialVersionUID = SerialIdEnum.PatientCourseModel.getCid(); | |
| 14 | 17 | |
| 15 | 18 | private String id; |
| 16 | 19 |