modelRT/network/component_attribute_update_...

17 lines
694 B
Go
Raw Normal View History

// Package network define struct of network operation
package network
// ComponentAttributeUpdateInfo defines circuit diagram component attribute params info
type ComponentAttributeUpdateInfo struct {
UUIDStr string `json:"uuid"`
AttributeConfigs []ComponentAttributeConfig `json:"attributes"`
}
// ComponentAttributeConfig defines request params of circuit diagram component attribute update config
type ComponentAttributeConfig struct {
AttributeExtendType string `json:"attribute_extend_type"`
AttributeName string `json:"attribute_name"`
AttributeVal string `json:"attribute_val"`
AttributeFieldType string `json:"attribute_field_type"`
}