add is_fixed field of layout model

This commit is contained in:
liugq 2023-04-19 16:01:33 +08:00
parent 0038930c63
commit 9e8422c7f5
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ type Layout struct {
Config interface{} `json:"config" elastic_mapping:"config: { type: object, enabled:false }"`
Reserved bool `json:"reserved,omitempty" elastic_mapping:"reserved:{type:boolean}"`
Type LayoutType `json:"type" elastic_mapping:"type: { type: keyword }"`
IsFixed bool `json:"is_fixed" elastic_mapping:"is_fixed: { type: boolean }"`
}
type LayoutType string