withdraw_info.go 1.1 KB

123456789101112131415161718192021222324
  1. package gorm_model
  2. // Code generated by sql2gorm. DO NOT EDIT.
  3. import (
  4. "time"
  5. )
  6. type YounggeeWithdrawRecord struct {
  7. WithdrawID string `gorm:"column:withdraw_id;primary_key"` // 提现订单ID
  8. TalentID string `gorm:"column:talent_id;NOT NULL"` // 达人id
  9. WithdrawAmount float64 `gorm:"column:withdraw_amount;NOT NULL"` // 提现金额
  10. AmountPayable float64 `gorm:"column:amount_payable;NOT NULL"` // 应付金额
  11. TaskIDList string `gorm:"column:task_id_list;NOT NULL"` // 该提现订单包含的task_id列表
  12. ReceiveInfo string `gorm:"column:receive_info;NOT NULL"` // 收款信息
  13. Status int `gorm:"column:status;NOT NULL"` // 提现状态:1为提现待确认,2为已提现
  14. BankType int `gorm:"column:bank_type;NOT NULL"` // 到账方式,1为支付宝,2为银行卡
  15. SubmitAt time.Time `gorm:"column:submit_at;NOT NULL"` // 申请提交时间
  16. WithdrawAt time.Time `gorm:"column:withdraw_at"` // 提现时间
  17. }
  18. func (m *YounggeeWithdrawRecord) TableName() string {
  19. return "younggee_withdraw_record"
  20. }