JM-WechatMini/model/common/user_todo.go

19 lines
745 B
Go
Raw Permalink Normal View History

2023-11-02 04:34:46 +08:00
package common
import "miniapp/global"
type UserTodo struct {
global.GVA_MODEL
2024-03-21 21:08:45 +08:00
UserId int `json:"userId" form:"userId" gorm:"comment:用户id;"`
Content string `json:"content" form:"content" gorm:"comment:任务内容;"`
IsFinish int `json:"isFinish" form:"isFinish" gorm:"comment:是否完成;"`
RemindTime string `json:"remindTime" form:"remindTime" gorm:"comment:提醒时间;"`
RemindPeriod int `json:"remindPeriod" form:"remindPeriod" gorm:"comment:术前,术后;"`
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 (u UserTodo) TableName() string {
return "t_user_todo"
}