diff --git a/EnvelopeGenerator.Domain/Entities/Config.cs b/EnvelopeGenerator.Domain/Entities/Config.cs index fe011b68..c3645ad8 100644 --- a/EnvelopeGenerator.Domain/Entities/Config.cs +++ b/EnvelopeGenerator.Domain/Entities/Config.cs @@ -1,11 +1,17 @@ using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; +#if NETFRAMEWORK +using System; +#endif namespace EnvelopeGenerator.Domain.Entities { [Table("TBSIG_CONFIG", Schema = "dbo")] public class Config { + [Column("DOCUMENT_PATH", TypeName = "nvarchar(256)")] + public string DocumentPath { get; set; } + [Column("SENDING_PROFILE", TypeName = "int")] [Required] public int SendingProfile { get; set; } @@ -19,5 +25,24 @@ namespace EnvelopeGenerator.Domain.Entities [Column("EXPORT_PATH", TypeName = "nvarchar(256)")] public string ExportPath { get; set; } + + [Column("ADDED_WHEN", TypeName = "datetime")] + [Required] + public DateTime AddedWhen { get; set; } + + [Column("CHANGED_WHEN", TypeName = "datetime")] + public DateTime? ChangedWhen { get; set; } + + [Column("GUID", TypeName = "tinyint")] + [Required] + public byte Guid { get; set; } + + [Column("DEF_TFA_ENABLED", TypeName = "bit")] + [Required] + public bool DefTfaEnabled { get; set; } + + [Column("DEF_TFA_WITH_PHONE", TypeName = "bit")] + [Required] + public bool DefTfaWithPhone { get; set; } } } \ No newline at end of file