Files
slogan/styleagent/model/entity/avatar_model.go
T

19 lines
887 B
Go

package entity
import "github.com/gogf/gf/v2/os/gtime"
type AvatarModel struct {
Id int64 `orm:"id" json:"id"`
UserId int64 `orm:"user_id" json:"user_id"`
FaceTemplateId int `orm:"face_template_id" json:"face_template_id"`
BodyTemplateId int `orm:"body_template_id" json:"body_template_id"`
SkinToneIndex int `orm:"skin_tone_index" json:"skin_tone_index"`
FaceTextureUrl string `orm:"face_texture_url" json:"face_texture_url"`
GlbUrl string `orm:"glb_url" json:"glb_url"`
BuildStatus string `orm:"build_status" json:"build_status"`
Error string `orm:"error" json:"error"`
ParamsSnapshot string `orm:"params_snapshot" json:"params_snapshot"`
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"`
UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"`
}