Coursach/Course/Contracts/ViewModels/DetailViewModel.cs
2024-04-30 22:27:52 +04:00

24 lines
589 B
C#

using DataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.ViewModels
{
public class DetailViewModel : IDetailModel
{
public int Id { get; set; }
[DisplayName("Название детали")]
public string Name { get; set; } = string.Empty;
[DisplayName("Цена детали")]
public double Cost { get; set; }
public int UserId { get; set; }
[DisplayName("Дата создания")]
public DateTime DateCreate { get; set; }
}
}