SUBD_TransportCompany/TransportCompany/TransportCompanyContracts/ViewModels/TransportViewModel.cs

20 lines
547 B
C#

using System.ComponentModel;
using TransportCompanyDataModels.Models;
namespace TransportCompanyContracts.ViewModels
{
public class TransportViewModel : ITransportModel
{
public int Id { get; set; }
[DisplayName("Модель")]
public string Model { get; set; } = string.Empty;
[DisplayName("Вместимость")]
public int LoadCapacity { get; set; }
[DisplayName("Автомобильный номер")]
public string StateNumber { get; set; } = string.Empty;
}
}