增加年度审查隐藏字段

This commit is contained in:
haomingming
2026-07-22 10:31:06 +08:00
parent b6f4d04b46
commit a349f447f9
7 changed files with 149 additions and 2 deletions
+1
View File
@@ -43,6 +43,7 @@ type OrderInquiry struct {
PatientNameMask string `gorm:"column:patient_name_mask;type:varchar(255);comment:患者姓名-就诊人(掩码)" json:"patient_name_mask"`
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"`
AnnualReviewHide int `gorm:"column:annual_review_hide;type:tinyint(1);default:0;comment:年度审查隐藏(0:否 1:是)" json:"annual_review_hide"`
UserDoctor *UserDoctor `gorm:"foreignKey:DoctorId;references:doctor_id" json:"user_doctor"` // 医生
TransferUserDoctor *UserDoctor `gorm:"foreignKey:TransferDoctorId;references:doctor_id" json:"transfer_user_doctor"` // 接受抄方的医生
User *User `gorm:"foreignKey:UserId;references:user_id" json:"user"` // 患者