YD_Event.Admin/YD_Event.Core/Entities/EventRegistrationPayment.cs
2026-02-26 18:29:08 +08:00

103 lines
2.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace YD_Event.Core.Entities;
/// <summary>
/// 赛事报名支付信息表
/// </summary>
[SugarTable("EventRegistrationPayment")]
public class EventRegistrationPayment : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
{
/// <summary>
/// 关联的报名ID
/// </summary>
public long RegistrationId { get; set; }
/// <summary>
/// 支付流水号
/// </summary>
[SugarColumn(Length = 64)]
public string TransactionNo { get; set; }
/// <summary>
/// 支付渠道:1-微信支付,2-支付宝,3-线下支付
/// </summary>
public int PaymentChannel { get; set; }
/// <summary>
/// 支付金额(元)
/// </summary>
public decimal PaymentAmount { get; set; }
/// <summary>
/// 支付时间
/// </summary>
public DateTime PaymentTime { get; set; }
/// <summary>
/// 支付状态:0-待支付,1-已支付,2-支付失败,3-已退款
/// </summary>
public int PaymentStatus { get; set; }
/// <summary>
/// 退款状态:0-未退款,1-退款中,2-已退款,3-退款失败
/// </summary>
public int RefundStatus { get; set; }
/// <summary>
/// 退款金额(元)
/// </summary>
public decimal RefundAmount { get; set; }
/// <summary>
/// 退款时间
/// </summary>
public DateTime? RefundTime { get; set; }
/// <summary>
/// 退款原因
/// </summary>
[SugarColumn(ColumnDataType = "TEXT")]
public string? RefundReason { get; set; }
/// <summary>
/// 收款账户
/// </summary>
[SugarColumn(Length = 128)]
public string PayeeAccount { get; set; }
/// <summary>
/// 付款账户
/// </summary>
[SugarColumn(Length = 128)]
public string? PayerAccount { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnDataType = "TEXT")]
public string? Remark { get; set; }
/// <summary>
/// 标记删除
/// </summary>
public bool DeleteMark { get; set; }
/// <summary>
/// 创建人
/// </summary>
public long CreatedUserId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
public long? UpdatedUserId { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdatedTime { get; set; }
}