golang-yitisheng-server/server/modules/yx/vo/user_volunteer_vo.go

20 lines
1.2 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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"` // 专业成绩分
}