forked from free-lancers/electricity_bill_calc_service
enhance(charge):服务延期记录序号改为自增长。
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
type UserCharge struct {
|
||||
Created `xorm:"extends"`
|
||||
Seq int64 `xorm:"bigint pk not null" json:"seq"`
|
||||
Seq int64 `xorm:"bigint pk not null autoincr" json:"seq"`
|
||||
UserId string `xorm:"varchar(120) not null" json:"userId"`
|
||||
Fee decimal.NullDecimal `xorm:"numeric(12,2)" json:"fee"`
|
||||
Discount decimal.NullDecimal `xorm:"numeric(5,4)" json:"discount"`
|
||||
|
Reference in New Issue
Block a user