package model import ( "time" ) type DiamondAccount struct { CreatedTime time.Time `json:"created_time"` // CreatedTime DiamondNum int `json:"diamond_num"` // 钻石数量 Id int64 `json:"id"` // id Status int `json:"status"` // 状态 UpdatedTime time.Time `json:"updated_time"` // UpdatedTime UserId int64 `json:"user_id"` // user_id } func (d *DiamondAccount) TableName() string { return "diamond_account" }