diff --git a/vo/meter.go b/vo/meter.go index d1ee990..eaedcbb 100644 --- a/vo/meter.go +++ b/vo/meter.go @@ -11,7 +11,7 @@ type MeterCreationForm struct { Address *string `json:"address"` Ratio decimal.Decimal `json:"ratio"` Seq int64 `json:"seq"` - MeterType int16 `json:"meterType"` + MeterType int16 `json:"type"` Building *string `json:"building"` OnFloor *string `json:"onFloor"` Area decimal.NullDecimal `json:"area"` @@ -24,7 +24,7 @@ type MeterModificationForm struct { Seq int64 `json:"seq"` Ratio decimal.Decimal `json:"ratio"` Enabled bool `json:"enabled"` - MeterType int16 `json:"meterType"` + MeterType int16 `json:"type"` Building *string `json:"building"` OnFloor *string `json:"onFloor"` Area decimal.NullDecimal `json:"area"`