using System;
using System.Collections.Generic;

namespace HoneyBox.Model.Entities;

/// <summary>
/// 支付流水表，记录所有支付交易流水
/// </summary>
public partial class ProfitPay
{
    /// <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 ChangeMoney { get; set; }

    /// <summary>
    /// 支付说明
    /// </summary>
    public string Content { get; set; } = null!;

    /// <summary>
    /// 支付类型（0-微信支付，1-支付宝，2-余额支付等）
    /// </summary>
    public byte PayType { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreatedAt { get; set; }
}
