JM-WechatMini/model/common/todos.go
2024-03-21 21:08:45 +08:00

18 lines
596 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package common
import "miniapp/global"
type Todos struct {
// 任务列表
global.GVA_MODEL
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:提醒日期;"`
}
func (t Todos) TableName() string {
return "sys_todos"
}