Files
36Wisdom/biz/model/entity/entity_child.go
T
2026-08-13 11:58:27 +08:00

18 lines
810 B
Go

package entity
import "github.com/gogf/gf/v2/os/gtime"
// Child 孩子档案:学习主体,进度/积分/兑换均按孩子维度。
type Child struct {
Id int64 `json:"id" orm:"id"`
ParentId int64 `json:"parent_id" orm:"parent_id"`
Nickname string `json:"nickname" orm:"nickname"`
Avatar string `json:"avatar" orm:"avatar"`
AgeGroup string `json:"age_group" orm:"age_group"`
Points int `json:"points" orm:"points"`
DailyLimitMinutes int `json:"daily_limit_minutes" orm:"daily_limit_minutes"`
Status int `json:"status" orm:"status"`
CreatedAt *gtime.Time `json:"created_at" orm:"created_at"`
UpdatedAt *gtime.Time `json:"updated_at" orm:"updated_at"`
}