Expanded ConfigDto with properties for document path, timestamps, legacy GUID, and default TFA settings. Added XML documentation for each new property.
60 lines
1.6 KiB
C#
60 lines
1.6 KiB
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace EnvelopeGenerator.Application.Common.Dto;
|
|
|
|
/// <summary>
|
|
/// Data Transfer Object representing configuration settings.
|
|
/// </summary>
|
|
[ApiExplorerSettings(IgnoreApi = true)]
|
|
public class ConfigDto
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the default document path.
|
|
/// </summary>
|
|
public string? DocumentPath { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the sending profile identifier.
|
|
/// </summary>
|
|
public int SendingProfile { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the signature host URL or name.
|
|
/// </summary>
|
|
public required string SignatureHost { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the name of the external program.
|
|
/// </summary>
|
|
public string? ExternalProgramName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the path where exports will be saved.
|
|
/// </summary>
|
|
public string? ExportPath { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the creation timestamp.
|
|
/// </summary>
|
|
public DateTime AddedWhen { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the last update timestamp.
|
|
/// </summary>
|
|
public DateTime? ChangedWhen { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the legacy tinyint GUID field.
|
|
/// </summary>
|
|
public byte Guid { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets whether default TFA is enabled.
|
|
/// </summary>
|
|
public bool DefTfaEnabled { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets whether default TFA uses phone.
|
|
/// </summary>
|
|
public bool DefTfaWithPhone { get; set; }
|
|
} |