You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
828 B

package finance
import (
"github.com/golangkit/formatime"
"github.com/shopspring/decimal"
"time"
)
type RecookWalletMonth struct {
Id uint `gorm:"primaryKey"`
Month string
CoinStart decimal.Decimal
CoinEnd decimal.Decimal
BalanceStart decimal.Decimal
BalanceEnd decimal.Decimal
CreatedAt time.Time
UpdatedAt time.Time
}
func (r RecookWalletMonth) TableName() string {
return "recook_wallet_month"
}
type RecookEmailEarlyWarning struct {
Id uint `json:"id" gorm:"column:id"`
Email string `json:"email" gorm:"column:email"`
Created formatime.Second `json:"created" gorm:"column:created"`
DeletedAt *time.Time `sql:"index" json:"deleted_at"`
}
func (r RecookEmailEarlyWarning) TableName() string {
return "recook_email_EarlyWarning"
}