refactor(EnvelopeHistory): rename as History

This commit is contained in:
2025-09-09 18:57:38 +02:00
parent ae669d05e7
commit e8f2c868b1
26 changed files with 65 additions and 65 deletions

View File

@@ -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]

View File

@@ -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

View File

@@ -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)]

View File

@@ -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