26 lines
766 B
C#
26 lines
766 B
C#
using LCU.Library.Internal.ApiResponse.Models;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using LCU.Library.Internal.FileOperationsModels.Models.NameSettings;
|
|
|
|
namespace LCU.Library.Internal.IncentiveApiModels.Requests
|
|
{
|
|
public class ActionCreditCardRequest : ReturnResponse
|
|
{
|
|
[Required]
|
|
public string FilePath { get; set; }
|
|
[Required]
|
|
public string DynamicFileName { get; set; }
|
|
[Required]
|
|
public DynamicNameSetting DynamicFileSettings { get; set; }
|
|
[NotMapped]
|
|
public string FinalBasePath
|
|
{
|
|
get
|
|
{
|
|
return FilePath.EndsWith("\\") ? FilePath : $"{FilePath}\\";
|
|
}
|
|
}
|
|
}
|
|
}
|