|
@@ -1,15 +1,18 @@
|
1
|
1
|
package models
|
2
|
2
|
|
3
|
3
|
type PrintPatient struct {
|
4
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
5
|
|
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
6
|
|
- Name string `gorm:"column:name" json:"name" form:"name"`
|
7
|
|
- Age string `gorm:"column:age" json:"age" form:"age"`
|
8
|
|
- Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
|
9
|
|
- HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
|
10
|
|
- Phone string `gorm:"column:phone" json:"phone" form:"phone"`
|
11
|
|
- Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
|
12
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
4
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
5
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
6
|
+ Name string `gorm:"column:name" json:"name" form:"name"`
|
|
7
|
+ Age string `gorm:"column:age" json:"age" form:"age"`
|
|
8
|
+ Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
|
|
9
|
+ HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
|
|
10
|
+ Phone string `gorm:"column:phone" json:"phone" form:"phone"`
|
|
11
|
+ Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
|
|
12
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
13
|
+ ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
|
|
14
|
+ Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
|
|
15
|
+
|
13
|
16
|
HisPrintPatient HisPrintPatient `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"his_patient"`
|
14
|
17
|
HisHospitalCheckRecord HisHospitalCheckRecord `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"his_record_patient"`
|
15
|
18
|
HisPrescriptionInfoTwo HisPrescriptionInfoTwo `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"info"`
|