Большой рефактор

This commit is contained in:
2025-04-26 16:56:29 +04:00
parent 9d0683a23f
commit 76167f1b24
83 changed files with 943 additions and 864 deletions
+3 -2
View File
@@ -12,13 +12,13 @@ namespace Pf2eModel.Model.Base;
public class Entity
{
[System.ComponentModel.DataAnnotations.Key]
[Key]
[Column(Order = 1)]
public int Id { get; set; }
[Column(Order = 2)]
[Comment("Отображаемое имя")]
public LocaleString Name { get; set; } = new();
public LocaleString Name { get; set; } = [];
[Column(Order = 3)]
[Comment("Тип объекта")]
@@ -36,6 +36,7 @@ public class Entity
[Column(Order = 6)]
[Comment("Текстовое описание объекта")]
// ReSharper disable once EntityFramework.ModelValidation.UnlimitedStringLength
public string Description { get; set; } = null!;
[Column(Order = 7)]