EditTeamOption struct (#25)
This commit is contained in:
parent
cb7fc56b77
commit
559190dbdc
1 changed files with 7 additions and 0 deletions
|
@ -18,3 +18,10 @@ type CreateTeamOption struct {
|
||||||
Description string `json:"description" binding:"MaxSize(255)"`
|
Description string `json:"description" binding:"MaxSize(255)"`
|
||||||
Permission string `json:"permission"`
|
Permission string `json:"permission"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// EditTeamOption options when edit team
|
||||||
|
type EditTeamOption struct {
|
||||||
|
Name string `json:"name" binding:"Required;AlphaDashDot;MaxSize(30)"`
|
||||||
|
Description string `json:"description" binding:"MaxSize(255)"`
|
||||||
|
Permission string `json:"permission"`
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue