using Meezi.Core.Enums;

namespace Meezi.Core.Entities;

public class Payment : BaseEntity
{
    public string OrderId { get; set; } = string.Empty;
    public PaymentMethod Method { get; set; }
    public decimal Amount { get; set; }
    public PaymentStatus Status { get; set; } = PaymentStatus.Pending;
    public string? Reference { get; set; }

    public Order Order { get; set; } = null!;
}
