namespace IceImportDAL.DTO.IceMapFtpSource; // Raw MICEMAPFTPSOURCE row. The *VaultRef fields are mount-relative Vault KV-v2 paths, never // plaintext secrets — safe to log/return. ScheduledImportService resolves each *VaultRef via // IIceImportSecretResolver into a RemoteFileSourceConfigDTO before handing off to // IRemoteFileSource; that resolved DTO is the one that must never be logged. public class MicemapFtpSourceDTO { public int IceMapId { get; set; } // ConnectionType: 0=FTP, 1=SFTP public byte ConnectionType { get; set; } public string HostVaultRef { get; set; } = string.Empty; public string UsernameVaultRef { get; set; } = string.Empty; public string CredentialVaultRef { get; set; } = string.Empty; public string RemoteFolderPath { get; set; } = string.Empty; public string FileNamePattern { get; set; } = string.Empty; // PostProcessAction: 0=None, 1=Delete, 2=Archive public byte PostProcessAction { get; set; } public string? ArchiveFolderPath { get; set; } }