56 lines
2.7 KiB
Go
56 lines
2.7 KiB
Go
package vo
|
||
|
||
import "time"
|
||
|
||
// VolunteerDetailVO 志愿详情视图对象
|
||
type VolunteerDetailVO struct {
|
||
ID string `json:"id"` // 志愿记录ID
|
||
VolunteerID string `json:"volunteerId"` // 志愿单ID
|
||
SchoolCode string `json:"schoolCode"` // 院校代码
|
||
MajorCode string `json:"majorCode"` // 专业代码
|
||
EnrollmentCode string `json:"enrollmentCode"` // 招生代码
|
||
Indexs int `json:"indexs"` // 志愿序号
|
||
Batch string `json:"batch"` // 批次
|
||
EnrollProbability float64 `json:"enrollProbability"` // 录取概率
|
||
StudentConvertedScore float64 `json:"studentConvertedScore"` // 学生折合分
|
||
CreateBy string `json:"createBy"` // 创建人
|
||
CreateTime time.Time `json:"createTime"` // 创建时间
|
||
CalculationMajorID string `json:"calculationMajorId"` // 计算专业ID
|
||
// 扩展字段(来自 SchoolMajorDTO)
|
||
SchoolName string `json:"schoolName"` // 院校名称
|
||
MajorName string `json:"majorName"` // 专业名称
|
||
PlanNum int `json:"planNum"` // 计划人数
|
||
Tuition string `json:"tuition"` // 学费
|
||
SchoolIcon string `json:"schoolIcon"` // 院校图标
|
||
Province string `json:"province"` // 省份
|
||
SchoolNature string `json:"schoolNature"` // 院校性质
|
||
InstitutionType string `json:"institutionType"` // 院校类型
|
||
MajorDetail string `json:"majorDetail"` // 专业详情
|
||
}
|
||
|
||
// VolunteerDetailResponse 志愿详情响应
|
||
type VolunteerDetailResponse struct {
|
||
Volunteer *VolunteerInfoVO `json:"volunteer"` // 志愿单信息
|
||
Items map[string][]VolunteerDetailVO `json:"items"` // 志愿明细列表 *VolunteerItemsVO
|
||
}
|
||
|
||
// VolunteerInfoVO 志愿单信息视图对象
|
||
type VolunteerInfoVO struct {
|
||
ID string `json:"id"`
|
||
VolunteerName string `json:"volunteerName"`
|
||
ScoreId string `json:"scoreId"`
|
||
CreateType string `json:"createType"`
|
||
State string `json:"state"`
|
||
CreateBy string `json:"createBy"`
|
||
CreateTime time.Time `json:"createTime"`
|
||
UpdateBy string `json:"updateBy"`
|
||
UpdateTime time.Time `json:"updateTime"`
|
||
}
|
||
|
||
// VolunteerItemsVO 志愿明细列表视图对象
|
||
type VolunteerItemsVO struct {
|
||
BatchBefore []VolunteerDetailVO `json:"batchBefore"` // 提前批
|
||
BatchUndergraduate []VolunteerDetailVO `json:"batchUndergraduate"` // 本科批
|
||
BatchCollege []VolunteerDetailVO `json:"batchCollege"` // 专科批
|
||
}
|