fix(model):修正对于Xorm来说的数值类型定义。

This commit is contained in:
徐涛
2022-08-10 22:56:40 +08:00
parent 70ac949478
commit a056915e1a
8 changed files with 68 additions and 68 deletions

View File

@@ -9,7 +9,7 @@ type MaintenanceFee struct {
Id string `xorm:"varchar(120) pk notnull" json:"id"`
ParkId string `xorm:"varchar(120) notnull" json:"parkId"`
Name string `xorm:"varchar(50) notnull" json:"name"`
Fee decimal.Decimal `xorm:"decimal(8,2) notnull" json:"fee"`
Fee decimal.Decimal `xorm:"numeric(8,2) notnull" json:"fee"`
Memo string `xorm:"text" json:"memo"`
Enabled bool `xorm:"bool notnull" json:"enabled"`
}