response.go 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. package cg_sdk
  2. import (
  3. "git.sxidc.com/go-framework/baize/framework/core/application"
  4. )
  5. type EncodeConfigInfo struct {
  6. application.InfoIDField
  7. application.InfoTenantIDField
  8. Namespace string `json:"namespace"`
  9. ConfigName string `json:"configName"`
  10. ConfigContentStr string `json:"-"`
  11. ConfigContent []EncodeSegment `json:"configContent"`
  12. EncodeRuleID string `json:"encodeRuleId"`
  13. EncodeRuleStatus uint8 `json:"encodeRuleStatus"`
  14. FormSelectList []FormSelectItem `json:"encodeSegmentContent"`
  15. application.InfoUserIDFields
  16. application.InfoTimeFields
  17. }
  18. // 编码段选择映射项
  19. type EncodeSegment struct {
  20. EncodeSegmentID string `json:"encodeSegmentId"`
  21. EncodeSegmentType string `json:"encodeSegmentType"`
  22. EncodeSegmentName string `json:"encodeSegmentName"`
  23. FieldValue string `json:"fieldValue"`
  24. }
  25. // 业务表单对应编码段的选择项
  26. type FormSelectItem struct {
  27. FieldName string `json:"fieldName"`
  28. FieldValue string `json:"fieldValue"`
  29. }