SUBD_PIbd-23_ZakharovRA/CarShowroom/CarShowroomDataModels/Views/MakeView.cs

23 lines
525 B
C#
Raw Normal View History

2024-05-03 10:59:33 +04:00
using CarShowroomContracts.AbstractModels;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarShowroomContracts.Dtos
{
public class MakeView : IMake
{
public int Id { get; set; }
[DisplayName("Название марки")]
public string Name { get; set; }
public MakeView(IMake model)
{
Id = model.Id;
Name = model.Name;
}
}
}