revert(EnvelopeDocument): Add Filepath for .net framework
revert(EnvelopeHistory): Add AddedWhen, ActionDate and Comment for .net framework
This commit is contained in:
parent
39af0fe4fd
commit
05888bc57d
@ -38,6 +38,9 @@ public class EnvelopeDocument
|
||||
public List<DocumentReceiverElement> Elements { get; set; }
|
||||
|
||||
// TODO: * Check the Form App and remove the default value
|
||||
[NotMapped]
|
||||
public string Filepath { get; set; }
|
||||
|
||||
#if NETFRAMEWORK
|
||||
[NotMapped]
|
||||
public string FileNameOriginal { get; set; }
|
||||
@ -48,9 +51,6 @@ public class EnvelopeDocument
|
||||
[NotMapped]
|
||||
public string Filename { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string Filepath { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public Bitmap Thumbnail { get; set; }
|
||||
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
using DigitalData.UserManager.Domain.Entities;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
#if NETFRAMEWORK
|
||||
using System;
|
||||
#endif
|
||||
|
||||
namespace EnvelopeGenerator.Domain.Entities
|
||||
#if NET
|
||||
@ -29,6 +32,17 @@ public class EnvelopeHistory
|
||||
[Column("STATUS")]
|
||||
public Constants.EnvelopeStatus Status { get; set; }
|
||||
|
||||
[Required]
|
||||
[Column("ADDED_WHEN", TypeName = "datetime")]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public DateTime AddedWhen { get; set; }
|
||||
|
||||
[Column("ACTION_DATE", TypeName = "datetime")]
|
||||
public DateTime ActionDate { get; set; } = DateTime.Now;
|
||||
|
||||
[Column("COMMENT", TypeName = "nvarchar(max)")]
|
||||
public string Comment { get; set; }
|
||||
|
||||
public virtual User Sender { get; set; }
|
||||
|
||||
public virtual Receiver Receiver { get; set; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user