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,10 +10,10 @@ public static class PassportConfiguration<T> where T : class, IEntity
{
entity.Property(p => p.Number)
.IsUnicode(false)
.HasMaxLength(20);
.HasMaxLength(ConfigurationConstraints.PassportNumberLength);
entity.Property(p => p.Issuer)
.IsUnicode(false)
.HasMaxLength(200);
.HasMaxLength(ConfigurationConstraints.IssuerNameLength);
}
}