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

namespace Ladaer.BackEnd.Infrastructures.DTO.Items.Trucks
{
    public class TruckMaintLinkItem : BaseItem<int>
    {
        public int TruckMaintenanceId { get; set; }
        public int TruckMaintAttributeId { get; set; }
        public string TruckMaintenanceValue { get; set; }
        public Units TruckMaintenanceUnit { get; set; }
        public string TruckMaintenanceUnitStr => TruckMaintenanceUnit.GetDescription();
    }
}
