PIbd-23_Starostin_I.K._Cour.../STOContracts/ViewModels/ServiceViewModel.cs

20 lines
520 B
C#

using STODataModels;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace STOContracts.ViewModels
{
public class ServiceViewModel : IServiceModel
{
public int Id { get; set; }
[DisplayName("Название сервиса")]
public string Name { get; set; } = string.Empty;
public int ClientId { get; set; }
public int CarId { get; set; }
}
}