定义model
This commit is contained in:
@@ -90,7 +90,7 @@ type GroupMedicationLog struct {
|
||||
TargetCount int `gorm:"not null;comment:用药对象数量"`
|
||||
Reason MedicationReasonType `gorm:"size:20;not null;comment:用药原因"`
|
||||
Description string `gorm:"size:255;comment:具体描述,如'治疗呼吸道病'"`
|
||||
Operator string `gorm:"size:50;comment:操作员"`
|
||||
OperatorID uint `gorm:"comment:操作员ID"`
|
||||
HappenedAt time.Time `gorm:"primaryKey;comment:用药时间"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user