Refactor contract type handling in EnvelopeType entity

Replaced Constants.ContractType enum with integer property in EnvelopeType. Updated related references in EnvelopeEditorController. Removed EnvelopeType variable from ModuleSettings. Made EnvelopeType property bindable and initialized in frmEnvelopeMainData to improve consistency and simplify contract type management.
This commit is contained in:
OlgunR
2026-02-19 13:57:31 +01:00
parent ae33254743
commit f303ba042b
4 changed files with 4 additions and 5 deletions

View File

@@ -56,7 +56,7 @@ namespace EnvelopeGenerator.Domain.Entities
public int ReminderIntervalDays { get; set; } = 0;
[Column("CONTRACT_TYPE")]
public Constants.ContractType ContractType { get; set; }
public int ContractType { get; set; }
[NotMapped]
public bool TFA_Enabled { get; set; } = false;