18 lines
475 B
C#
18 lines
475 B
C#
using CarServiceContracts.Models;
|
|
using System.ComponentModel;
|
|
|
|
namespace CarServiceContracts.ViewModels
|
|
{
|
|
public class VehicleViewModel : IVehicleModel
|
|
{
|
|
public int Id { get; set; }
|
|
[DisplayName("Наименование")]
|
|
public string Name { get; set; } = string.Empty;
|
|
[DisplayName("Гос. номер")]
|
|
public string? Plate { get; set; }
|
|
[DisplayName("ВИН номер")]
|
|
public string? VIN { get; set; }
|
|
public int CustomerId { get; set; }
|
|
}
|
|
}
|