package model type BillAttach struct { // TransactionId string `gorm:"primaryKey;size:50" json:"transactionId"` // 交易订单号 TimeModel Attach string `gorm:"size:200" json:"attach"` // 自定义数据 Description string `gorm:"size:255" json:"description"` // 订单摘要 NotifyUrl string `gorm:"size:200" json:"notifyUrl"` // 支付结果通知回调地址 NotifyStatus int `gorm:"type:tinyint(1)" json:"notifyStatus"` // 通知结果 0:未通知 1:成功 2:失败 } func (BillAttach) TableName() string { return "bill_attach" }