using Lada.Framework.Data.Enums;
using Lada.Framework.DTO;
using Lada.Framework.Infrastructures.Helpers;

namespace Ladaer.BackEnd.Infrastructures.DTO.Items.FuelCards;

public class FuelCardItem : BaseItem<int>
{
    public string CardNumber { get; set; } = string.Empty;
    public string CardholderName { get; set; } = string.Empty;
    public string BankName { get; set; } = string.Empty;
    public string CardType { get; set; } = string.Empty;
    public int? ResponsibleUserId { get; set; }
    public string? ResponsibleUserName { get; set; }
    public FuelCardStatus Status { get; set; }
    public string StatusStr => Status.GetDescription();
    public DateTimeOffset? ExpiryDate { get; set; }
    public decimal? CreditLimit { get; set; }
    public decimal CurrentDebt { get; set; }
    public string Notes { get; set; } = string.Empty;
}
