package entity type AssetRwCallbackLog struct { MysqlBaseModel Currency string `json:"currency,omitempty" gorm:"type:VARCHAR(20);comment:币种缩写"` Amount string `json:"amount,omitempty" gorm:"type:VARCHAR(50);comment:金额"` OrderId string `json:"orderId,omitempty" gorm:"type:VARCHAR(50);unique;comment:订单ID-唯一"` OpenId string `json:"openId,omitempty" gorm:"type:VARCHAR(50);comment:openId"` CreateTime int64 `json:"createTime,omitempty" gorm:"type:VARCHAR(20);comment:时间戳"` Type string `json:"type,omitempty" gorm:"type:VARCHAR(20);comment:类型 user_to_application:充值 application_to_user:提现"` AppId string `json:"appId,omitempty" gorm:"type:VARCHAR(50);comment:应用ID"` CustomParam string `json:"customParam" gorm:"type:VARCHAR(100);comment:透传信息"` Sign string `json:"sign,omitempty" gorm:"type:VARCHAR(100);comment:签名信息"` State int32 `json:"state" gorm:"type:tinyint;default:0;comment:处理状态 0-待处理 1-成功 2-失败"` ErrDesc string `json:"errDesc" gorm:"type:VARCHAR(255);comment:错误信息"` Status int `json:"status" gorm:"comment:充值、提现回调状态码 0 / 1 成功 2 失败"` } func (*AssetRwCallbackLog) TableName() string { return ModelPrefix + "asset_rw_callback_log" } func (*AssetRwCallbackLog) Comment() string { return "转账回调日志" } func NewAssetRwCallbackLog() *AssetRwCallbackLog { return &AssetRwCallbackLog{} }