forked from free-lancers/electricity_bill_calc_service
fix(meter): 修改结构体MeterCreationForm中的字段名称,和此结构体的调用处
This commit is contained in:
20
vo/meter.go
20
vo/meter.go
@@ -7,16 +7,16 @@ import (
|
||||
)
|
||||
|
||||
type MeterCreationForm struct {
|
||||
Code string `json:"code"`
|
||||
Address *string `json:"address"`
|
||||
Ratio decimal.Decimal `json:"ratio"`
|
||||
Seq int64 `json:"seq"`
|
||||
MeterType int16 `json:"type"`
|
||||
Building *string `json:"building"`
|
||||
OnFloor *string `json:"onFloor"`
|
||||
Area decimal.NullDecimal `json:"area"`
|
||||
Enabled bool `json:"enabled"`
|
||||
MeterReadingForm `json:"-"`
|
||||
Code string `json:"code"`
|
||||
Address *string `json:"address"`
|
||||
Ratio decimal.Decimal `json:"ratio"`
|
||||
Seq int64 `json:"seq"`
|
||||
MeterType int16 `json:"type"`
|
||||
Building *string `json:"building"`
|
||||
OnFloor *string `json:"onFloor"`
|
||||
Area decimal.NullDecimal `json:"area"`
|
||||
Enabled bool `json:"enabled"`
|
||||
Reading MeterReadingForm `json:"reading"`
|
||||
}
|
||||
|
||||
type MeterModificationForm struct {
|
||||
|
||||
Reference in New Issue
Block a user