/
miragecatv
/
library-api-csharp
Обзор
Документация
Войти
/
miragecatv
/
library-api-csharp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
api/Models/BookImportRow.cs
48 строк
1 KB
Nikita P
Initial BookDB project
22 июл 2026, 21:33
22 июл 2026, 21:33
1c0f3fe
Код
Авторство
О чём код?
using CsvHelper.Configuration.Attributes; namespace BookDb.Api.Models; public sealed class BookImportRow { [Name("title")] public string? Title { get; set; } [Name("authors")] public string? Authors { get; set; } [Name("description")] public string? Description { get; set; } [Name("original_year")] public short? OriginalYear { get; set; } [Name("publisher")] public string? Publisher { get; set; } [Name("series")] public string? Series { get; set; } [Name("genres")] public string? Genres { get; set; } [Name("isbn")] public string? Isbn { get; set; } [Name("publication_year")] public short? PublicationYear { get; set; } [Name("page_count")] public int? PageCount { get; set; } [Name("binding_type")] public string? BindingType { get; set; } [Name("condition")] public string? Condition { get; set; } [Name("reading_status")] public string? ReadingStatus { get; set; } [Name("notes")] public string? Notes { get; set; } }