forked from free-lancers/electricity_bill_calc_service
fix(model):修正对于Xorm来说的数值类型定义。
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user