label.go 578 B

1234567891011121314151617181920212223
  1. package models
  2. //标签列表返回信息
  3. type LabelListResponse struct {
  4. Title string `json:"title"`
  5. Config []Config `json:"config"`
  6. }
  7. type Config struct {
  8. Content string `json:"content"`
  9. Size string `json:"size"`
  10. BgColor string `json:"bgColor"`
  11. FontColor string `json:"fontColor"`
  12. Plain bool `json:"plain"`
  13. Select bool `json:"select"`
  14. Shape string `json:"shape"`
  15. IconName string `json:"iconName"`
  16. IconSize string `json:"iconSize"`
  17. IconColor string `json:"iconColor"`
  18. }
  19. type LabelInsertRequest struct {
  20. Label string `json:"label"`
  21. }