This commit is contained in:
Dmitrii Kollerov
2026-09-25 08:05:46 +03:00
parent 2b05c26eb3
commit 68da43a673
29 changed files with 867 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace example_csharp_app.Dto;
public class BookDto
{
// Для описания модели использовал fluent api в AppDbContext
public Guid Id { set; get; }
public string Title { set; get; } = string.Empty;
public string Author { set; get; } = string.Empty;
public DateTime YearPublished { set; get; }
public string BookIndex { set; get; } = string.Empty;
}