新增患者手机号

This commit is contained in:
2023-09-12 09:32:29 +08:00
parent a05fd1d50d
commit 09b062aa5d
4 changed files with 8 additions and 1 deletions
+1
View File
@@ -41,6 +41,7 @@ type OrderInquiry struct {
PatientSex int `gorm:"column:patient_sex;type:tinyint(1);default:0;comment:患者性别-就诊人(0:未知 1:男 2:女)" json:"patient_sex"`
PatientAge int `gorm:"column:patient_age;type:int(1);comment:患者年龄-就诊人" json:"patient_age"`
UserDoctor *UserDoctor `gorm:"foreignKey:DoctorId;references:doctor_id" json:"user_doctor"` // 医生
User *User `gorm:"foreignKey:UserId;references:user_id" json:"user"` // 患者
Model
}