Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct { ID uuid.UUID `json:"id,omitempty"` Wbatn string `json:"wbatn,omitempty"` AttributeName string `json:"attribute_name,omitempty"` Label string `json:"label,omitempty"` DataType string `json:"data_type,omitempty"` CreatedAt sql.NullTime `json:"created_at,omitempty"` UpdatedAt sql.NullTime `json:"updated_at,omitempty"` IsRequired bool `json:"is_required,omitempty" db:"-"` Ordinal int `json:"ordinal,omitempty" db:"-"` }
type Entity ¶
type Entity struct { ID uuid.UUID `json:"id,omitempty"` ResourceName string `json:"resource_name,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Notes string `json:"notes,omitempty"` CreatedAt time.Time `json:"created_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty"` Attributes []*EntityAttribute `json:"attributes,omitempty"` Children []*EntityReference `json:"children,omitempty"` Parent *EntityReference `json:"parent,omitempty"` Type *TypeReference `json:"type,omitempty"` }
type EntityAttribute ¶
type EntityReference ¶
type EntityType ¶
type EntityType struct { ID uuid.UUID `json:"id,omitempty"` Wbtn string `json:"wbtn,omitempty"` TypeName string `json:"type_name,omitempty"` TypeDescription string `json:"type_description,omitempty"` CreatedAt time.Time `json:"created_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty"` Attributes []*Attribute `json:"attributes,omitempty"` Parent *TypeReference `json:"parent,omitempty"` }
Click to show internal directories.
Click to hide internal directories.