using CMSMicroservice.Domain.Enums;

namespace CMSMicroservice.Domain.Entities;
//تراکنش
public class Transaction : BaseAuditableEntity
{
    public long Amount { get; set; }
    public string Description { get; set; }
    public PaymentStatus PaymentStatus { get; set; }
    //تاریخ پرداخت
    public DateTime? PaymentDate { get; set; }
    public string? RefId { get; set; }
    public TransactionType Type { get; set; }
    //UserOrder Collection Navigation Reference
    public virtual ICollection<UserOrder> UserOrders { get; set; }
}
