2023-11-02 04:34:46 +08:00
|
|
|
|
package common
|
|
|
|
|
|
|
|
|
|
import "miniapp/global"
|
|
|
|
|
|
|
|
|
|
type Todos struct {
|
|
|
|
|
// 任务列表
|
|
|
|
|
global.GVA_MODEL
|
2024-03-21 21:08:45 +08:00
|
|
|
|
Content string `json:"content" form:"content" gorm:"comment:任务内容;"`
|
|
|
|
|
RemindTime string `json:"remindTime" form:"remindTime" gorm:"comment:提醒时间;"`
|
|
|
|
|
RemindPeriod int `json:"remindPeriod" form:"remindPeriod" gorm:"comment:0术前,1术后;"`
|
|
|
|
|
Frequency string `json:"frequency" form:"frequency" gorm:"comment:用药频率;"`
|
|
|
|
|
RemindDay string `json:"remindDay" form:"remindDay" gorm:"comment:提醒日期;"`
|
2023-11-02 04:34:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (t Todos) TableName() string {
|
|
|
|
|
return "sys_todos"
|
|
|
|
|
}
|