You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
378 B
Go

11 months ago
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"
}