package model import ( "github.com/shopspring/decimal" ) type MaintenanceFee struct { CreatedAndModified `xorm:"extends"` 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:"numeric(8,2) notnull" json:"fee"` Memo string `xorm:"text" json:"memo"` Enabled bool `xorm:"bool notnull" json:"enabled"` } func (MaintenanceFee) TableName() string { return "maintenance_fee" }