You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
503 B

package user
import "github.com/golangkit/formatime"
type TopCodenum struct {
ID uint `gorm:"column:id;primary_key" json:"id"`
Code string `gorm:"column:code" json:"code"`
CreatedTime formatime.Second `gorm:"column:created_time" json:"createdTime"`
UserId uint `gorm:"column:user_id" json:"userid"`
PId uint `gorm:"column:p_id" json:"pId"`
}
func (r *TopCodenum) TableName() string {
return "recook_user_top_codenum"
}