fonchain-artistinfo/cmd/model/exhexam.go
2022-12-09 16:24:12 +08:00

20 lines
539 B
Go

package model
import (
"gorm.io/gorm"
)
//考核 用户模型
type ExhExam struct {
gorm.Model
ID int32 `gorm:"not null"`
UserId int32 `gorm:"default:0"`
Title string `gorm:"type:varchar(64) default ''"`
Class string `gorm:"type:varchar(25) default ''"`
TitleScore int32 `gorm:"default:0"`
Score string `gorm:"type:varchar(1024) default ''"`
Types string `gorm:"type:varchar(25) default ''"`
Remarks string `gorm:"type:varchar(1024) default ''"`
Enable bool `gorm:"default:0"`
}