[feat] GridLayoutField 字段调整
This commit is contained in:
parent
8f0e1f605d
commit
2cbbe63064
@ -1,30 +1,30 @@
|
||||
package base
|
||||
|
||||
type GridLayoutField struct {
|
||||
Uuid string `db:"uuid"`
|
||||
GridLayoutUuid string `db:"grid_layout_uuid"` // 所属布局 UUID
|
||||
Type string `db:"type"`
|
||||
X int `db:"x"`
|
||||
Y int `db:"y"`
|
||||
W int `db:"w"`
|
||||
H int `db:"h"`
|
||||
MinH int `db:"minH"`
|
||||
MinW int `db:"minW"`
|
||||
MaxH int `db:"maxH"`
|
||||
MaxW int `db:"maxW"`
|
||||
Code string `db:"code"`
|
||||
Label string `db:"label"`
|
||||
Widget string `db:"widget"`
|
||||
WidgetPerfix string `db:"widgetPerfix"`
|
||||
WidgetDecorator string `db:"widgetDecorator"`
|
||||
SubWidgets []map[string]any `db:"subWidgets"`
|
||||
InitialValue string `db:"initialValue"`
|
||||
Css map[string]any `db:"css"`
|
||||
Extras map[string]any `db:"extras"`
|
||||
Hidden bool `db:"hidden"`
|
||||
IsVirtual bool `db:"isVirtual"`
|
||||
UpdatedAt string `db:"updated_at"`
|
||||
CreatedAt string `db:"created_at"`
|
||||
Uuid string `db:"uuid"`
|
||||
GridLayoutUuid string `db:"grid_layout_uuid"` // 所属布局 UUID
|
||||
Type string `db:"type"`
|
||||
X int `db:"x"`
|
||||
Y int `db:"y"`
|
||||
W int `db:"w"`
|
||||
H int `db:"h"`
|
||||
MinH int `db:"minH"`
|
||||
MinW int `db:"minW"`
|
||||
MaxH int `db:"maxH"`
|
||||
MaxW int `db:"maxW"`
|
||||
Code string `db:"code"`
|
||||
Widget string `db:"widget"`
|
||||
WidgetPerfix string `db:"widgetPerfix"`
|
||||
WidgetDecorator string `db:"widgetDecorator"`
|
||||
SubWidgets []map[string]any `db:"subWidgets"`
|
||||
ConvertJs string `db:"convertJs"`
|
||||
ConvertJsSetting map[string]any `db:"convertJsSetting"`
|
||||
Extras map[string]any `db:"extras"`
|
||||
IsVirtual bool `db:"isVirtual"`
|
||||
InitialValue string `db:"initialValue"`
|
||||
InitialValueLanguage string `db:"initialValueLanguage"`
|
||||
UpdatedAt string `db:"updated_at"`
|
||||
CreatedAt string `db:"created_at"`
|
||||
}
|
||||
|
||||
type GetGridLayoutFields func(uuid string) []GridLayoutField
|
||||
|
Loading…
Reference in New Issue
Block a user