Небольшие исправления модели и обработчиков

This commit is contained in:
2025-05-21 15:57:43 +04:00
parent 00de4cb319
commit 4d01b100d1
13 changed files with 77 additions and 152 deletions
@@ -1,6 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
namespace Pf2eModel.Model.Base.Source;
@@ -50,6 +51,7 @@ public class EntitySource
/// <summary>
/// Сущность, к которой относится источник.
/// </summary>
[JsonIgnore]
public Entity Entity { get; set; } = null!;
/// <summary>