golang-yitisheng-server/server/modules/yx/dto/yx_volunteer_dto.go

14 lines
621 B
Go
Raw 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 dto
// CreateVolunteerRequest 创建志愿请求
type CreateVolunteerRequest struct {
VolunteerName string `json:"volunteerName" binding:"required"` // 志愿单名称
ScoreId string `json:"scoreId" binding:"required"` // 关联成绩ID
CreateType string `json:"createType"` // 生成类型(1.手动生成,2.智能生成)
}
// UpdateVolunteerRequest 更新志愿请求
type UpdateVolunteerRequest struct {
VolunteerName string `json:"volunteerName"` // 志愿单名称
State string `json:"state"` // 志愿单状态(0-否1-正在使用2-历史)
}