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 ActionVehicleRequest : 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}\\"; } } } }