using System;

namespace HoneyBox.Model.Entities;

/// <summary>
/// 用户充值订单表
/// </summary>
public class UserRecharge
{
    /// <summary>
    /// 主键ID
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 订单号
    /// </summary>
    public string OrderNum { get; set; } = null!;

    /// <summary>
    /// 充值金额
    /// </summary>
    public decimal Money { get; set; }

    /// <summary>
    /// 状态: 1待支付 2已完成
    /// </summary>
    public byte Status { get; set; }

    /// <summary>
    /// 创建时间（Unix时间戳）
    /// </summary>
    public int CreatedAt { get; set; }

    /// <summary>
    /// 支付时间（Unix时间戳）
    /// </summary>
    public int PayTime { get; set; }
}
