config.go 619 B

12345678910111213141516171819202122232425
  1. package dto
  2. type ConfigResp struct {
  3. Key string `json:"key"`
  4. Value string `json:"value"`
  5. OptionKey string `json:"option_key"`
  6. ValueType string `json:"value_type"`
  7. Description string `json:"description"`
  8. Order int `json:"order"`
  9. IsEnabled bool `json:"is_enabled"`
  10. Uri string `json:"uri"`
  11. }
  12. type ConfigOptionResp struct {
  13. Flag string `json:"flag"`
  14. Text string `json:"text"`
  15. Value string `json:"value"`
  16. Order int `json:"order"`
  17. Enable bool `json:"enable"`
  18. }
  19. type ConfigItemReq struct {
  20. Title string `json:"title"`
  21. Columns []string `json:"columns"`
  22. }