package vo

import "exam_system/entity"

type ExamVo struct {
	*entity.Exam
	// 试卷名称
	TpName string `json:"tp_name,omitempty" db:"tp_name,omitempty"`
	Score  *int `json:"score,omitempty" db:"score,omitempty"`
	Classes []*entity.Class `json:"classes,omitempty" db:"classes,omitempty"`
}


type ExamVo1 struct {
	*entity.Exam
	State *int `json:"state,omitempty" db:"state,omitempty"`
	Score *int `json:"score,omitempty" db:"score,omitempty"`
	PassScore *int `json:"pass_score,omitempty" db:"pass_score,omitempty"`
}