21 lines
518 B
C#
21 lines
518 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Contracts.ViewModels
|
|||
|
{
|
|||
|
public class BookViewModel {
|
|||
|
|
|||
|
public int? Id { get; set; }
|
|||
|
[DisplayName("Название")]
|
|||
|
public string Name { get; set; } = string.Empty;
|
|||
|
[DisplayName("Автор")]
|
|||
|
public string Author { get; set; } = string.Empty;
|
|||
|
[DisplayName("Дата публикации")]
|
|||
|
public DateTime PublicationDate { get; set; }
|
|||
|
}
|
|||
|
}
|