|
| 1 | +package model |
| 2 | + |
| 3 | +type SurrogateIdType uint |
| 4 | + |
| 5 | +type SurrogateScopeEnumType string |
| 6 | + |
| 7 | +type SurrogateScopeType string |
| 8 | + |
| 9 | +type SurrogateOtherSourceType string |
| 10 | + |
| 11 | +type SurrogateSourcesType struct { |
| 12 | + SpineSource []EntityAddressType `json:"spineSource,omitempty"` |
| 13 | + OtherSource []SurrogateOtherSourceType `json:"otherSource,omitempty"` |
| 14 | +} |
| 15 | + |
| 16 | +type SurrogateDescriptionDataType struct { |
| 17 | + SurrogateId *SurrogateIdType `json:"surrogateId,omitempty" eebus:"key"` |
| 18 | + SurrogateScope *SurrogateScopeType `json:"surrogateScope,omitempty"` |
| 19 | + SurrogateSources *SurrogateSourcesType `json:"surrogateSources,omitempty"` |
| 20 | + Label *LabelType `json:"label,omitempty"` |
| 21 | + Description *DescriptionType `json:"description,omitempty"` |
| 22 | +} |
| 23 | + |
| 24 | +type SurrogateSourcesElementsType struct { |
| 25 | + SpineSource *EntityAddressElementsType `json:"spineSource,omitempty"` |
| 26 | + OtherSource *ElementTagType `json:"otherSource,omitempty"` |
| 27 | +} |
| 28 | + |
| 29 | +type SurrogateDescriptionDataElementsType struct { |
| 30 | + SurrogateId *ElementTagType `json:"surrogateId,omitempty"` |
| 31 | + SurrogateScope *ElementTagType `json:"surrogateScope,omitempty"` |
| 32 | + SurrogateSources *SurrogateSourcesElementsType `json:"surrogateSources,omitempty"` |
| 33 | + Label *ElementTagType `json:"label,omitempty"` |
| 34 | + Description *ElementTagType `json:"description,omitempty"` |
| 35 | +} |
| 36 | + |
| 37 | +type SurrogateDescriptionListDataType struct { |
| 38 | + SurrogateDescriptionData []SurrogateDescriptionDataType `json:"surrogateDescriptionData,omitempty"` |
| 39 | +} |
| 40 | + |
| 41 | +type SurrogateDescriptionListDataSelectorsSourcesType struct { |
| 42 | + SpineSource *EntityAddressType `json:"spineSource,omitempty"` |
| 43 | + OtherSource *string `json:"otherSource,omitempty"` |
| 44 | +} |
| 45 | + |
| 46 | +type SurrogateDescriptionListDataSelectorsType struct { |
| 47 | + SurrogateId *SurrogateIdType `json:"surrogateId,omitempty"` |
| 48 | + SurrogateScope *SurrogateScopeType `json:"surrogateScope,omitempty"` |
| 49 | + SurrogateSources *SurrogateDescriptionListDataSelectorsSourcesType `json:"surrogateSources,omitempty"` |
| 50 | +} |
0 commit comments