- Prioritätsbehandlung für document_path_dmz in EnvelopeService.LoadEnvelopes hinzugefügt. - CRUD-Operationen in EnvlopeDocument und ConfigurationFile Services/Repositories unter Verwendung von WebCoreModules implementiert. - Verschiedene Dateimethoden in [spezifischen Orten oder Klassen, falls zutreffend] auf async umgestellt.
49 lines
1.9 KiB
C#
49 lines
1.9 KiB
C#
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
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]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)] // Assuming SENDING_PROFILE is manually entered or controlled by the application logic
|
|
[DefaultValue(0)] // This sets the default value for SENDING_PROFILE
|
|
public int SendingProfile { get; set; }
|
|
|
|
[Column("SIGNATURE_HOST", TypeName = "nvarchar(128)")]
|
|
public string SignatureHost { get; set; }
|
|
|
|
[Column("EXTERNAL_PROGRAM_NAME", TypeName = "nvarchar(30)")]
|
|
public string ExternalProgramName { get; set; }
|
|
|
|
[Column("EXPORT_PATH", TypeName = "nvarchar(256)")]
|
|
public string ExportPath { get; set; }
|
|
|
|
[Column("DOCUMENT_PATH_DMZ", TypeName = "nvarchar(512)")]
|
|
[Required]
|
|
[DefaultValue("")] // This sets the default value for DOCUMENT_PATH_DMZ
|
|
public string DocumentPathDmz { get; set; }
|
|
|
|
[Column("EXPORT_PATH_DMZ", TypeName = "nvarchar(512)")]
|
|
[Required]
|
|
[DefaultValue("")] // This sets the default value for EXPORT_PATH_DMZ
|
|
public string ExportPathDmz { get; set; }
|
|
|
|
[Column("SIGNED_MAIL_PATH", TypeName = "nvarchar(512)")]
|
|
[Required]
|
|
[DefaultValue("")] // This sets the default value for SIGNED_MAIL_PATH
|
|
public string SignedMailPath { get; set; }
|
|
|
|
[Column("DOCUMENT_PATH_MOVE_AFTSEND", TypeName = "nvarchar(512)")]
|
|
[Required]
|
|
[DefaultValue("")] // This sets the default value for DOCUMENT_PATH_MOVE_AFTSEND
|
|
public string DocumentPathMoveAftsend { get; set; }
|
|
}
|
|
}
|