refactor(EnvelopeHistory): rename as History
This commit is contained in:
@@ -19,7 +19,7 @@ public class Document
|
||||
public Document()
|
||||
{
|
||||
#if NETFRAMEWORK
|
||||
Elements = Enumerable.Empty<DocumentReceiverElement>().ToList();
|
||||
Elements = Enumerable.Empty<Signature>().ToList();
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ public class Document
|
||||
[Column("BYTE_DATA", TypeName = "varbinary(max)")]
|
||||
public byte[] ByteData { get; set; }
|
||||
|
||||
public List<DocumentReceiverElement> Elements { get; set; }
|
||||
public List<Signature> Elements { get; set; }
|
||||
|
||||
// TODO: * Check the Form App and remove the default value
|
||||
[NotMapped]
|
||||
|
||||
@@ -36,7 +36,7 @@ public class Envelope
|
||||
CertificationType = (int)Constants.CertificationType.AdvancedElectronicSignature;
|
||||
UseAccessCode = false;
|
||||
Documents = Enumerable.Empty<Document>().ToList();
|
||||
Histories = Enumerable.Empty<EnvelopeHistory>().ToList();
|
||||
Histories = Enumerable.Empty<History>().ToList();
|
||||
EnvelopeReceivers = Enumerable.Empty<EnvelopeReceiver>().ToList();
|
||||
#endif
|
||||
}
|
||||
@@ -164,7 +164,7 @@ public class Envelope
|
||||
#endif
|
||||
Documents { get; set; }
|
||||
|
||||
public List<EnvelopeHistory>
|
||||
public List<History>
|
||||
#if NET
|
||||
?
|
||||
#endif
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace EnvelopeGenerator.Domain.Entities
|
||||
#endif
|
||||
|
||||
[Table("TBSIG_ENVELOPE_HISTORY", Schema = "dbo")]
|
||||
public class EnvelopeHistory : IHasEnvelope, IHasReceiver
|
||||
public class History : IHasEnvelope, IHasReceiver
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
@@ -13,9 +13,9 @@ namespace EnvelopeGenerator.Domain.Entities
|
||||
#endif
|
||||
|
||||
[Table("TBSIG_DOCUMENT_RECEIVER_ELEMENT", Schema = "dbo")]
|
||||
public class DocumentReceiverElement
|
||||
public class Signature
|
||||
{
|
||||
public DocumentReceiverElement()
|
||||
public Signature()
|
||||
{
|
||||
// TODO: * Check the Form App and remove the default value
|
||||
#if NETFRAMEWORK
|
||||
Reference in New Issue
Block a user