LabSubd/Subd/Contracts/ViewModels/CarVM.cs

27 lines
724 B
C#

using DataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.ViewModels
{
public class CarVM : ICar
{
[DisplayName("Номер")]
public string number { get; set; }
public int Id { get; set; }
[DisplayName("Модель")]
public string Model { get; set; } = string.Empty;
[DisplayName("Грузоподъемность")]
public int Tonnage { get; set; }
public int? StatusId { get; set; }
[DisplayName("Статус")]
public string? StatusTitle { get; set; } = string.Empty;
}
}