Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Annotation ¶
type Annotation struct { ViewSchema *ui.Schema `json:"ViewSchema,omitempty"` ColumnProps *ColumnProps `json:"ColumnProps,omitempty"` ValidateRule string `json:"ValidateRule,omitempty"` DisableCreate bool `json:"DisableCreate,omitempty"` DisableRead bool `json:"DisableRead,omitempty"` DisableUpdate bool `json:"DisableUpdate,omitempty"` Queryable bool `json:"Queryable,omitempty"` Edge *Edge `json:"Edge,omitempty"` // 解耦的 Edge 关联查询 }
func (Annotation) Name ¶
func (Annotation) Name() string
type ColumnProps ¶
type ColumnProps struct { Width int `json:"Width,omitempty"` Align string `json:"Align,omitempty"` Ellipsis bool `json:"Ellipsis,omitempty"` Filterable bool `json:"Filterable,omitempty"` Sortable bool `json:"Sortable,omitempty"` HideInTable bool `json:"HideInTable,omitempty"` Order int `json:"Order,omitempty"` }
Click to show internal directories.
Click to hide internal directories.