21 lines
892 B
C#
21 lines
892 B
C#
namespace Hutopy.Domain.Entities;
|
|
|
|
public class UserTransaction : BaseAuditableEntity
|
|
{
|
|
public decimal Amount { get; set; }
|
|
public string Currency { get; set; } = "CAD";
|
|
public string TipMessage { get; set; } = string.Empty;
|
|
|
|
// Foreign key to ApplicationUser
|
|
public required string ApplicationUserId { get; set; }
|
|
public bool IsConfirmed { get; set; }
|
|
public string StripeEventId { get; set; } = string.Empty;
|
|
public string StripeChargeId { get; set; } = string.Empty;
|
|
public string StripePaymentIntent { get; set; } = string.Empty;
|
|
public string StripePaymentMethod { get; set; } = string.Empty;
|
|
public string StripeReceiptUrl { get; set; } = string.Empty;
|
|
public string StripeBillingDetailEmail { get; set; } = string.Empty;
|
|
public string StripeBillingDetailName { get; set; } = string.Empty;
|
|
public bool Paid { get; set; }
|
|
}
|