From 2cbbe63064122889104495b0a8f5fc609fdff371 Mon Sep 17 00:00:00 2001 From: what Date: Mon, 18 Sep 2023 15:11:59 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20GridLayoutField=20=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/grid_layout_field.go | 48 +++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/base/grid_layout_field.go b/base/grid_layout_field.go index 3f7e250..3ae86a8 100644 --- a/base/grid_layout_field.go +++ b/base/grid_layout_field.go @@ -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