|
@@ -237,17 +237,27 @@ func (XtPatientsTenOne) TableName() string {
|
237
|
237
|
return "xt_patients"
|
238
|
238
|
}
|
239
|
239
|
|
|
240
|
+type InspectionValue struct {
|
|
241
|
+ Name string `gorm:"-" json:"name" form:"name"`
|
|
242
|
+ Value string `gorm:"-" json:"value" form:"value"`
|
|
243
|
+}
|
|
244
|
+
|
240
|
245
|
type InspectionTen struct {
|
241
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
242
|
|
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
243
|
|
- Name string `gorm:"-" json:"name" form:"name"`
|
244
|
|
- Ipth string `gorm:"-" json:"ipth" form:"ipth"`
|
245
|
|
- Xuejia string `gorm:"-" json:"xuejia" form:"xuejia"`
|
246
|
|
- Xuelin string `gorm:"-" json:"xuelin" form:"xuelin"`
|
247
|
|
- Bdb string `gorm:"-" json:"bdb" form:"bdb"`
|
248
|
|
- Xhdb string `gorm:"-" json:"xhdb" form:"xhdb"`
|
|
246
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
247
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
248
|
+ Name string `gorm:"-" json:"name" form:"name"`
|
|
249
|
+ Values []InspectionValue `gorm:"-" json:"values" form:"values"`
|
249
|
250
|
}
|
250
|
251
|
|
251
|
252
|
func (InspectionTen) TableName() string {
|
252
|
253
|
return "xt_inspection"
|
253
|
254
|
}
|
|
255
|
+
|
|
256
|
+type InspectionTenOne struct {
|
|
257
|
+ ID int64 `gorm:"-" json:"id" form:"id"`
|
|
258
|
+ PatientId int64 `gorm:"-" json:"patient_id" form:"patient_id"`
|
|
259
|
+ Name string `gorm:"-" json:"name" form:"name"`
|
|
260
|
+ ItemName string `gorm:"-" json:"item_name" form:"item_name"`
|
|
261
|
+ InspectValue string `gorm:"-" json:"inspect_value" form:"inspect_value"`
|
|
262
|
+ ItemID string `gorm:"-" json:"item_id" form:"item_id"`
|
|
263
|
+}
|