add is_fixed field of layout model
This commit is contained in:
parent
0038930c63
commit
9e8422c7f5
|
@ -18,6 +18,7 @@ type Layout struct {
|
||||||
Config interface{} `json:"config" elastic_mapping:"config: { type: object, enabled:false }"`
|
Config interface{} `json:"config" elastic_mapping:"config: { type: object, enabled:false }"`
|
||||||
Reserved bool `json:"reserved,omitempty" elastic_mapping:"reserved:{type:boolean}"`
|
Reserved bool `json:"reserved,omitempty" elastic_mapping:"reserved:{type:boolean}"`
|
||||||
Type LayoutType `json:"type" elastic_mapping:"type: { type: keyword }"`
|
Type LayoutType `json:"type" elastic_mapping:"type: { type: keyword }"`
|
||||||
|
IsFixed bool `json:"is_fixed" elastic_mapping:"is_fixed: { type: boolean }"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type LayoutType string
|
type LayoutType string
|
||||||
|
|
Loading…
Reference in New Issue