using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.WXResult
{
public enum OemWithdrawalStatus
{
Pending = 0, //待审核
Approved = 1, //审核通过
Rejected = 2, //审核拒绝
Paying = 3, //打款中
Paid = 4, //已打款
PayFailed = 5, //打款失败
Cancelled = 6, //已取消
}
public class WXOemWithdrawalInfo
{
/// 主键
/// 提现单号(业务唯一号)
public string withdrawal_no { get; set; }
/// 关联oem表id
public string oem_id { get; set; }
/// 贴牌编号(oem.oem_id)
/// 贴牌名称
public string oem_name { get; set; }
/// 发起提现的用户/商户ID
public string apply_user_name { get; set; }
/// 申请提现金额(分)
public long amount { get; set; }
/// 手续费(分)
public long fee { get; set; }
/// 实际到账金额(分) = amount - fee
public long actual_amount { get; set; }
/// 提现前余额快照(分)
public long balance_before { get; set; }
/// 提现后余额快照(分)
public long balance_after { get; set; }
/// 提现方式:1银行卡 2支付宝 3微信 4其他
public int withdrawal_type { get; set; }
/// 提现方式名称
public string withdrawal_type_string { get; set; }
/// 收款人姓名
public string account_name { get; set; }
/// 收款账号(卡号/账号)
public string account_no { get; set; }
/// 开户行
public string bank_name { get; set; }
/// 开户支行
public string bank_branch { get; set; }
/// 状态:0待审核 1审核通过 2审核拒绝 3打款中 4已打款 5打款失败 6已取消
public int status { get; set; }
/// 状态名称
public string status_string { get; set; }
/// 审核人ID
public string audit_by { get; set; }
/// 审核时间
public DateTime? audit_time { get; set; }
/// 审核备注/拒绝原因
public string audit_remark { get; set; }
/// 打款成功时间
public DateTime? pay_time { get; set; }
/// 打款渠道/支付流水来源
public string pay_channel { get; set; }
/// 第三方打款流水号
public string pay_trade_no { get; set; }
/// 打款失败原因
public string fail_reason { get; set; }
/// 备注
public string remark { get; set; }
/// 发起提现时的客户端IP
public string client_ip { get; set; }
/// 创建时间
public DateTime created_at { get; set; }
/// 更新时间
public DateTime updated_at { get; set; }
}
}