mirror of https://gitee.com/answerdev/answer.git
17 lines
439 B
Go
17 lines
439 B
Go
package schema
|
|
|
|
type ReasonItem struct {
|
|
ReasonType int `json:"reason_type"`
|
|
Name string `json:"name"`
|
|
Description string `json:"description"`
|
|
ContentType string `json:"content_type"`
|
|
Placeholder string `json:"placeholder"`
|
|
}
|
|
|
|
type ReasonReq struct {
|
|
// ObjectType
|
|
ObjectType string `validate:"required" form:"object_type" json:"object_type"`
|
|
// Action
|
|
Action string `validate:"required" form:"action" json:"action"`
|
|
}
|