// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model import ( "time" ) const TableNamePatientEmergencySymptom = "patient_emergency_symptom" // PatientEmergencySymptom 患者紧急症状表 type PatientEmergencySymptom struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键 PatientID int32 `gorm:"column:patient_id;not null;comment:患者ID" json:"patient_id"` // 患者ID Symptom string `gorm:"column:symptom;not null;comment:症状信息(JSON格式)" json:"symptom"` // 症状信息(JSON格式) Conclusion string `gorm:"column:conclusion;not null;comment:结论" json:"conclusion"` // 结论 CreatedUser string `gorm:"column:created_user;not null;comment:创建人" json:"created_user"` // 创建人 CreatedAt time.Time `gorm:"column:created_at;not null;default:CURRENT_TIMESTAMP;comment:创建时间" json:"created_at"` // 创建时间 UpdatedUser string `gorm:"column:updated_user;not null;comment:更新人" json:"updated_user"` // 更新人 UpdatedAt time.Time `gorm:"column:updated_at;not null;default:CURRENT_TIMESTAMP;comment:更新时间" json:"updated_at"` // 更新时间 } // TableName PatientEmergencySymptom's table name func (*PatientEmergencySymptom) TableName() string { return TableNamePatientEmergencySymptom }