30 lines
962 B
C#
30 lines
962 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using LCU.Library.Internal.ApiResponse.Models;
|
|
using LCU.Library.Internal.FileOperationsModels.Models.NameSettings;
|
|
|
|
namespace LCU.Library.Internal.IncentiveApiModels.Requests
|
|
{
|
|
public class ImportIndirectVehicleSalesRequest : ReturnResponse
|
|
{
|
|
[Required]
|
|
public string FilePath { get; set; }
|
|
[Required]
|
|
public string IndirectDynamicFileName { get; set; }
|
|
[Required]
|
|
public DynamicNameSetting IndirectDynamicFileSettings { get; set; }
|
|
[Required]
|
|
public string DirectDynamicFileName { get; set; }
|
|
[Required]
|
|
public DynamicNameSetting DirectDynamicFileSettings { get; set; }
|
|
[NotMapped]
|
|
public string FinalBasePath
|
|
{
|
|
get
|
|
{
|
|
return FilePath.EndsWith("\\") ? FilePath : $"{FilePath}\\";
|
|
}
|
|
}
|
|
}
|
|
}
|