forked from ebhomengo/niki
17 lines
461 B
Go
17 lines
461 B
Go
package adminbenefactoreparam
|
|
|
|
import (
|
|
"git.gocasts.ir/ebhomengo/niki/param"
|
|
)
|
|
|
|
type BenefactorUpdateRequest struct {
|
|
ID uint `json:"-" param:"id" example:"1"`
|
|
FirstName string `json:"first_name" example:"name"`
|
|
LastName string `json:"last_name" example:"family"`
|
|
BirthDate param.Date `json:"birth_date" example:"2000-01-01"`
|
|
}
|
|
|
|
type BenefactorUpdateResponse struct {
|
|
FieldErrors map[string]string `json:"field_errors,omitempty"`
|
|
}
|