refactor(EnvelopeReceiver): remove companyName property

This commit is contained in:
2025-08-21 14:54:48 +02:00
parent 0f27600c5b
commit 8db62b41ba
3 changed files with 8 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ public class EnvelopeReceiver
public EnvelopeReceiver()
{
#if NETFRAMEWORK
Company = string.Empty;
CompanyName = string.Empty;
#endif
}
@@ -39,7 +39,11 @@ public class EnvelopeReceiver
public string JobTitle { get; set; }
[Column("COMPANY_NAME", TypeName = "nvarchar(128)")]
public string CompanyName { get; set; }
public string
#if NET
?
#endif
CompanyName { get; set; }
[Column("PRIVATE_MESSAGE", TypeName = "nvarchar(max)")]
public string PrivateMessage { get; set; }
@@ -71,13 +75,6 @@ public class EnvelopeReceiver
[ForeignKey("ReceiverId")]
public Receiver Receiver { get; set; }
[Column("COMPANY_NAME")]
public string
#if NET
?
#endif
Company { get; set; }
#region Model of old serice
[NotMapped]
public Constants.ReceiverStatus Status { get; set; }