refactor(EnvelopeDocument): Aktualisiert, um Comon.Entities.EnvelopeDocument zu enthalten

This commit is contained in:
Developer 02
2025-05-23 11:29:20 +02:00
parent 10aa857544
commit 8e4266fcf6
3 changed files with 17 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ namespace EnvelopeGenerator.Domain.Entities
[Required]
[Column("ENVELOPE_ID")]
public int EnvelopeId { get; set; }
public int EnvelopeId { get; set; } = 0;
[Required]
[Column("ADDED_WHEN", TypeName = "datetime")]
@@ -26,6 +26,18 @@ namespace EnvelopeGenerator.Domain.Entities
[Column("BYTE_DATA", TypeName = "varbinary(max)")]
public byte[] ByteData { get; set; }
public IEnumerable<DocumentReceiverElement> Elements { get; set; }
// TODO: * Check the Form App and remove the default value
public IEnumerable<DocumentReceiverElement> Elements { get; set; } = new List<DocumentReceiverElement>();
[NotMapped]
public string FileNameOriginal { get; set; }
[NotMapped]
public bool IsTempFile { get; set; }
[NotMapped]
public string Filename { get; set; }
public string Filepath { get; set; }
}
}