refactor(EnvelopeReceiver): remove companyName property
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user