24 lines
1.0 KiB
Go
24 lines
1.0 KiB
Go
package app
|
|
|
|
import "git.echol.cn/loser/lckt/global"
|
|
|
|
// With 提现管理
|
|
type With struct {
|
|
global.GVA_MODEL
|
|
WithType int `json:"withType" form:"withType" gorm:"comment:提现类型 1 微信 2 支付宝 3 银行卡"`
|
|
UserID uint `json:"userId" form:"userId" gorm:"comment:用户ID"`
|
|
UserName string `json:"userName" form:"userName" gorm:"comment:用户名称"`
|
|
Amount float64 `json:"amount" form:"amount" gorm:"comment:提现金额"`
|
|
RealAmount float64 `json:"realAmount" form:"realAmount" gorm:"comment:实际到账金额"`
|
|
Status int `json:"status" form:"status" gorm:"comment:状态 1 待处理 2 已完成 3 已拒绝 4 已取消"`
|
|
// 到账时间
|
|
ArriveTime string `json:"arriveTime" form:"arriveTime" gorm:"comment:到账时间"`
|
|
// 账户信息
|
|
AccountInfo string `json:"accountInfo" form:"accountInfo" gorm:"type:text;comment:账户信息 收款码或银行卡等"`
|
|
Remark string `json:"remark" form:"remark" gorm:"type:text;comment:备注"`
|
|
}
|
|
|
|
func (With) TableName() string {
|
|
return "app_with"
|
|
}
|