16 lines
650 B
Go
16 lines
650 B
Go
package entity
|
|
|
|
import "github.com/gogf/gf/v2/os/gtime"
|
|
|
|
// UserProgress 闯关进度:孩子 × 关卡,星星/完美/内容版本。
|
|
type UserProgress struct {
|
|
Id int64 `json:"id" orm:"id"`
|
|
ChildId int64 `json:"child_id" orm:"child_id"`
|
|
LevelId int64 `json:"level_id" orm:"level_id"`
|
|
Stars int `json:"stars" orm:"stars"`
|
|
Score int `json:"score" orm:"score"`
|
|
Perfect int `json:"perfect" orm:"perfect"`
|
|
ContentVersion int `json:"content_version" orm:"content_version"`
|
|
CompletedAt *gtime.Time `json:"completed_at" orm:"completed_at"`
|
|
}
|