fonchain-artistinfo/cmd/model/exhexam.go

20 lines
851 B
Go
Raw Normal View History

2023-01-18 09:03:15 +00:00
package model
2023-02-17 03:33:56 +00:00
// 画家指数
2023-01-18 09:03:15 +00:00
type ExhExam struct {
2023-02-15 01:10:11 +00:00
Model
2023-02-17 03:33:56 +00:00
UserId uint `gorm:"column:user_id;default:0;comment:账号id" json:"userId"`
Title string `gorm:"column:title;type:varchar(64);default:''" json:"title"`
Class string `gorm:"column:class;type:varchar(25);default:''" json:"class"`
TitleScore uint `gorm:"column:title_score;default:0" json:"titleScore"`
Score string `gorm:"column:score;type:varchar(1024);default:''" json:"score"`
State string `gorm:"column:state;type:varchar(25);default:''" json:"state"`
Remark string `gorm:"column:remark;type:varchar(1024);default:''" json:"remark"`
Remark2 string `gorm:"column:remark2;type:varchar(1024);default:''" json:"remark2"`
Enable bool `gorm:"column:enable;default:0" json:"enable"`
}
2023-01-18 09:03:15 +00:00
2023-02-17 03:33:56 +00:00
func (e ExhExam) TableName() string {
return "exh_exam"
2023-01-18 09:03:15 +00:00
}