revert(EnvelopeDocument): Add Filepath for .net framework
revert(EnvelopeHistory): Add AddedWhen, ActionDate and Comment for .net framework
This commit is contained in:
@@ -38,6 +38,9 @@ public class EnvelopeDocument
|
|||||||
public List<DocumentReceiverElement> Elements { get; set; }
|
public List<DocumentReceiverElement> Elements { get; set; }
|
||||||
|
|
||||||
// TODO: * Check the Form App and remove the default value
|
// TODO: * Check the Form App and remove the default value
|
||||||
|
[NotMapped]
|
||||||
|
public string Filepath { get; set; }
|
||||||
|
|
||||||
#if NETFRAMEWORK
|
#if NETFRAMEWORK
|
||||||
[NotMapped]
|
[NotMapped]
|
||||||
public string FileNameOriginal { get; set; }
|
public string FileNameOriginal { get; set; }
|
||||||
@@ -48,9 +51,6 @@ public class EnvelopeDocument
|
|||||||
[NotMapped]
|
[NotMapped]
|
||||||
public string Filename { get; set; }
|
public string Filename { get; set; }
|
||||||
|
|
||||||
[NotMapped]
|
|
||||||
public string Filepath { get; set; }
|
|
||||||
|
|
||||||
[NotMapped]
|
[NotMapped]
|
||||||
public Bitmap Thumbnail { get; set; }
|
public Bitmap Thumbnail { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
using DigitalData.UserManager.Domain.Entities;
|
using DigitalData.UserManager.Domain.Entities;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
#if NETFRAMEWORK
|
||||||
|
using System;
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace EnvelopeGenerator.Domain.Entities
|
namespace EnvelopeGenerator.Domain.Entities
|
||||||
#if NET
|
#if NET
|
||||||
@@ -29,6 +32,17 @@ public class EnvelopeHistory
|
|||||||
[Column("STATUS")]
|
[Column("STATUS")]
|
||||||
public Constants.EnvelopeStatus Status { get; set; }
|
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 User Sender { get; set; }
|
||||||
|
|
||||||
public virtual Receiver Receiver { get; set; }
|
public virtual Receiver Receiver { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user