18 lines
661 B
Go
18 lines
661 B
Go
package model
|
|
|
|
import "github.com/shopspring/decimal"
|
|
|
|
type WillDilutedFee struct {
|
|
CreatedAndModified `xorm:"extends"`
|
|
Id string `xorm:"varchar(120) pk not null" json:"id"`
|
|
ReportId string `xorm:"varchar(120) not null" json:"reportId"`
|
|
SourceId *string `xorm:"varchar(120)" json:"sourceId"`
|
|
Name string `xorm:"varchar(50) not null" json:"name"`
|
|
Fee decimal.Decimal `xorm:"numeric(8,2) not null default 0" json:"fee"`
|
|
Memo *string `xorm:"text" json:"memo"`
|
|
}
|
|
|
|
func (WillDilutedFee) TableName() string {
|
|
return "will_diluted_fee"
|
|
}
|