Documentation
¶
Index ¶
Constants ¶
View Source
const TableNameHomeRechargeLog = "home_recharge_log"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HomeRechargeLog ¶
type HomeRechargeLog struct { ID int64 `gorm:"column:id;primaryKey;comment:充值序号" json:"id"` // 充值序号 UserID int64 `gorm:"column:user_id;not null;comment:用户序号" json:"user_id"` // 用户序号 Username string `gorm:"column:username;not null;comment:用户名" json:"username"` // 用户名 TypeDict int32 `gorm:"column:type_dict;not null;comment:流水类型" json:"type_dict"` // 流水类型 Amount float64 `gorm:"column:amount;default:0.00;comment:金额" json:"amount"` // 金额 OutTradeNo string `gorm:"column:out_trade_no;not null;comment:商户订单号" json:"out_trade_no"` // 商户订单号 PlatformOrderNo string `gorm:"column:platform_order_no;comment:平台订单编号" json:"platform_order_no"` // 平台订单编号 PayAmount float64 `gorm:"column:pay_amount;default:0.00;comment:实际支付金额" json:"pay_amount"` // 实际支付金额 OrderAmount float64 `gorm:"column:order_amount;default:0.00;comment:订单金额" json:"order_amount"` // 订单金额 PayPlatformDict string `gorm:"column:pay_platform_dict;comment:支付平台" json:"pay_platform_dict"` // 支付平台 CreatedAt time.Time `gorm:"column:created_at;default:2006-01-02 15:04:05;comment:创建时间" json:"created_at"` // 创建时间 UpdatedAt time.Time `gorm:"column:updated_at;default:2006-01-02 15:04:05;comment:更新时间" json:"updated_at"` // 更新时间 }
HomeRechargeLog 充值
func (*HomeRechargeLog) TableName ¶
func (*HomeRechargeLog) TableName() string
TableName HomeRechargeLog's table name
Click to show internal directories.
Click to hide internal directories.