Files
servicebase/pkg/dto/request/ExamOrderRequest.go
2025-11-19 14:24:13 +08:00

70 lines
1.2 KiB
Go

package request
import "github.com/shopspring/decimal"
type CreateExaminerReq struct {
BaseRequest
UserId string
SkillId string
}
type BindExaminerSkillReq struct {
BaseRequest
UserId string
SkillId string
}
type DownExaminerReq struct {
BaseRequest
UserId string
Reason string
Status string // down | normal
}
type CreateExamReq struct {
BaseRequest
SkillId string
MapId string
LevelId string
GenderRequirement string // F | M | N
Requirement string // single | double
CandidateStatus string // employed | unemployed
FirstFree string // y | n
UpStart string
UpEnd string
RightNow bool
EmployedPrice decimal.Decimal
UnEmployedPrice decimal.Decimal
}
type UpdateExamReq struct {
CreateExamReq
ExamId string
Status string // down
}
type CreateNoticeReq struct {
BaseRequest
Id string
Content string
ImgUrl string
UpStart string
UpEnd string
RightNow bool
}
type ReviewExamApprovalReq struct {
BaseRequest
OrderNo string
ReviewId string
Action string // accept deny
Reason string
}
type SupportOrderReq struct {
BaseRequest
Content string
SupportId string
OrderNo string
}