fix(meter):终端用户表计档案完成查询调整。

This commit is contained in:
徐涛
2022-09-19 12:19:31 +08:00
parent ed83fbc77c
commit 01953132ca
3 changed files with 8 additions and 5 deletions

View File

@@ -19,9 +19,9 @@ type Meter04KV struct {
ContactPhone *string `json:"contactPhone" excel:"phone"`
Ratio decimal.Decimal `bun:",notnull,default:1" json:"ratio" excel:"ratio"`
Seq int64 `bun:"type:bigint,notnull" json:"seq" excel:"seq"`
IsPublicMeter bool `bun:"public_meter,notnull,default:false" json:"isPublicMeter" excel:"public"`
WillDilute bool `bun:"dilute,notnull,default:false" json:"willDilute" excel:"dilute"`
Enabled bool `bun:",notnull,default:true" json:"enabled"`
IsPublicMeter bool `bun:"public_meter,notnull" json:"isPublicMeter" excel:"public"`
WillDilute bool `bun:"dilute,notnull" json:"willDilute" excel:"dilute"`
Enabled bool `bun:",notnull" json:"enabled"`
ParkDetail *Park `bun:"rel:belongs-to,join:park_id=id" json:"-"`
}