|
@@ -122,6 +122,7 @@ type Patients struct {
|
122
|
122
|
HisPrescription []*HisPrescription `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"prescription"`
|
123
|
123
|
VMHisPrescriptionInfo VMHisPrescriptionInfo `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"info"`
|
124
|
124
|
VMHisOrder VMHisOrder `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"order"`
|
|
125
|
+ PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
|
125
|
126
|
}
|
126
|
127
|
|
127
|
128
|
func (Patients) TableName() string {
|