Removed location entities, fixed configurations and controllers' comments

This commit is contained in:
2024-08-21 18:39:22 +03:00
parent f857ba90f8
commit 3e21a0a164
47 changed files with 111 additions and 506 deletions

View File

@@ -10,14 +10,14 @@ public static class NameConfiguration<T> where T : class, IEntity
{
entity.Property(p => p.FirstName)
.IsUnicode(false)
.HasMaxLength(50);
.HasMaxLength(ConfigurationConstraints.NameLength);
entity.Property(p => p.Surname)
.IsUnicode(false)
.HasMaxLength(50);
.HasMaxLength(ConfigurationConstraints.NameLength);
entity.Property(p => p.Patronymic)
.IsUnicode(false)
.HasMaxLength(50);
.HasMaxLength(ConfigurationConstraints.NameLength);
}
}