Adding
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using LCU.Library.Internal.FileOperationsModels.Models.NameSettings;
|
||||
using LCU.Library.Internal.FileOperationsModels.Shared;
|
||||
|
||||
namespace LCU.Api.Internal.FTPLib.Models
|
||||
{
|
||||
public class SftpDynamicFileRequest : SftpRequest
|
||||
{
|
||||
[NotMapped]
|
||||
public string FinalLocalFilePath
|
||||
{
|
||||
get
|
||||
{
|
||||
return $"{LocalFilePath}\\{DynamicNameBuilder.BuildDynamicName(LocalFileName, DynamicNameSetting)}";
|
||||
}
|
||||
}
|
||||
|
||||
public string LocalFileName { get; set; }
|
||||
public DynamicNameSetting DynamicNameSetting { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user