JM-WechatMini/model/common/user_todo.go

15 lines
378 B
Go
Raw Normal View History

2023-11-02 04:34:46 +08:00
package common
import "miniapp/global"
type UserTodo struct {
global.GVA_MODEL
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:是否完成;"`
}
func (u UserTodo) TableName() string {
return "t_user_todo"
}