You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
632 B
Go
30 lines
632 B
Go
package dto
|
|
|
|
type GroupCreate struct {
|
|
ID uint `json:"id"`
|
|
Name string `json:"name" validate:"required"`
|
|
Type string `json:"type" validate:"required"`
|
|
}
|
|
|
|
type GroupSearch struct {
|
|
Type string `json:"type" validate:"required"`
|
|
}
|
|
|
|
type GroupUpdate struct {
|
|
ID uint `json:"id"`
|
|
Name string `json:"name"`
|
|
Type string `json:"type" validate:"required"`
|
|
IsDefault bool `json:"isDefault"`
|
|
}
|
|
|
|
type GroupInfo struct {
|
|
ID uint `json:"id"`
|
|
Name string `json:"name"`
|
|
Type string `json:"type"`
|
|
IsDefault bool `json:"isDefault"`
|
|
}
|
|
|
|
type OperateByType struct {
|
|
Type string `json:"type"`
|
|
}
|