package model import ( "time" ) type ResMedal struct { CreatedTime time.Time `json:"created_time"` // CreatedTime I int `json:"i"` // 排序 Id int `json:"id"` // id Name string `json:"name"` // Name NoPicUrl string `json:"no_pic_url"` // NoPicUrl PicUrl string `json:"pic_url"` // PicUrl Scope int `json:"scope"` // Scope SvgaUrl string `json:"svga_url"` // SvgaUrl Threshold int `json:"threshold"` // Threshold Type int `json:"type"` // Type UpdatedTime time.Time `json:"updated_time"` // UpdatedTime } func (r *ResMedal) TableName() string { return "res_medal" }