feat: implement JWT token generation in VerifyOtpTokenCommandHandler and update related configurations

This commit is contained in:
masoodafar-web
2026-02-03 00:02:04 +03:30
parent c3eeb16856
commit b41342dcad
4 changed files with 21 additions and 6 deletions
@@ -15,6 +15,8 @@ public class ContractConfiguration : IEntityTypeConfiguration<Contract>
builder.Property(entity => entity.Description).IsRequired(true);
builder.Property(entity => entity.HtmlContent).IsRequired(true);
builder.Property(entity => entity.Type).IsRequired(true);
// Map legacy Code column from database as shadow property (not used in C# code)
builder.Property<string>("Code").IsRequired(false);
}
}