CourseWork_CarCenter/CarCenter/CarCenterContracts/ViewModels/CarViewModel.cs

23 lines
587 B
C#

using CarCenterDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.ViewModels
{
public class CarViewModel : ICarModel
{
public int Id { get; set; }
[DisplayName("Бренд машины")]
public string BrandCar { get; set; } = string.Empty;
[DisplayName("Модель машины")]
public string Model { get; set; } = string.Empty;
public int AdministratorId { get; set; }
}
}