refactor(EnvelopeDocument): rename as Document
This commit is contained in:
@@ -14,9 +14,9 @@ namespace EnvelopeGenerator.Domain.Entities
|
||||
#endif
|
||||
|
||||
[Table("TBSIG_ENVELOPE_DOCUMENT", Schema = "dbo")]
|
||||
public class EnvelopeDocument
|
||||
public class Document
|
||||
{
|
||||
public EnvelopeDocument()
|
||||
public Document()
|
||||
{
|
||||
#if NETFRAMEWORK
|
||||
Elements = Enumerable.Empty<DocumentReceiverElement>().ToList();
|
||||
@@ -103,7 +103,7 @@ public class DocumentReceiverElement
|
||||
ChangedWho { get; set; }
|
||||
|
||||
[ForeignKey("DocumentId")]
|
||||
public virtual EnvelopeDocument Document { get; set; }
|
||||
public virtual Document Document { get; set; }
|
||||
|
||||
[ForeignKey("ReceiverId")]
|
||||
public virtual Receiver Receiver { get; set; }
|
||||
|
||||
@@ -35,7 +35,7 @@ public class Envelope
|
||||
ReminderIntervalDays = 0;
|
||||
CertificationType = (int)Constants.CertificationType.AdvancedElectronicSignature;
|
||||
UseAccessCode = false;
|
||||
Documents = Enumerable.Empty<EnvelopeDocument>().ToList();
|
||||
Documents = Enumerable.Empty<Document>().ToList();
|
||||
Histories = Enumerable.Empty<EnvelopeHistory>().ToList();
|
||||
EnvelopeReceivers = Enumerable.Empty<EnvelopeReceiver>().ToList();
|
||||
#endif
|
||||
@@ -158,7 +158,7 @@ public class Envelope
|
||||
public bool IsAlreadySent => Status > EnvelopeStatus.EnvelopeSaved;
|
||||
#endif
|
||||
|
||||
public List<EnvelopeDocument>
|
||||
public List<Document>
|
||||
#if NET
|
||||
?
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user