up_group.go 593 B

123456789101112131415161718192021222324252627
  1. package model
  2. //AddGroupArg arg
  3. type AddGroupArg struct {
  4. Name string `form:"name" validate:"required"`
  5. Tag string `form:"tag" validate:"required"`
  6. ShortTag string `form:"short_tag"`
  7. FontColor string `form:"font_color"`
  8. BgColor string `form:"bg_color"`
  9. Remark string `from:"remark"`
  10. }
  11. //EditGroupArg arg
  12. type EditGroupArg struct {
  13. AddArg *AddGroupArg
  14. ID int64 `form:"id" validate:"required"`
  15. }
  16. //RemoveGroupArg arg
  17. type RemoveGroupArg struct {
  18. ID int32 `form:"id" validate:"required"`
  19. }
  20. //GetGroupArg arg
  21. type GetGroupArg struct {
  22. State int `form:"state"`
  23. }