20 lines
1.2 KiB
Go
20 lines
1.2 KiB
Go
package vo
|
||
|
||
import (
|
||
"server/types"
|
||
)
|
||
|
||
// UserVolunteerVO 志愿单视图对象,关联成绩信息
|
||
type UserVolunteerVO struct {
|
||
ID string `gorm:"column:id;primaryKey" json:"id"`
|
||
VolunteerName string `gorm:"column:volunteer_name" json:"volunteerName"` // 志愿单名称
|
||
ScoreId string `gorm:"column:score_id" json:"scoreId"` // 使用成绩id
|
||
CreateType string `gorm:"column:create_type;default:1" json:"createType"` // 生成类型(1.手动生成,2.智能生成)
|
||
State string `gorm:"column:state;default:0" json:"state"` // 志愿单状态(0-否,1.正在使用,2-历史)
|
||
UpdateTime types.DateTime `gorm:"column:update_time" json:"updateTime"` // 更新日期
|
||
ProfessionalCategory string `json:"professionalCategory"` // 专业类别
|
||
Province string `json:"province"` // 省份
|
||
CulturalScore float64 `json:"culturalScore"` // 文化分
|
||
ProfessionalScore float64 `json:"professionalScore"` // 专业成绩分
|
||
}
|