Initial commit
This commit is contained in:
9
PartSource.Automation/Models/AutomationJobResult.cs
Normal file
9
PartSource.Automation/Models/AutomationJobResult.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace PartSource.Automation.Models
|
||||
{
|
||||
public class AutomationJobResult
|
||||
{
|
||||
public string Message { get; set; }
|
||||
|
||||
public bool IsSuccess { get; set; }
|
||||
}
|
||||
}
|
||||
19
PartSource.Automation/Models/Cache/VehicleCacheItem.cs
Normal file
19
PartSource.Automation/Models/Cache/VehicleCacheItem.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using PartSource.Data.Nexpart;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace PartSource.Automation.Models.Cache
|
||||
{
|
||||
public class VehicleCacheItem
|
||||
{
|
||||
public BaseVehicle BaseVehicle { get; set; }
|
||||
|
||||
public IList<int> VehicleIds { get; set; }
|
||||
|
||||
public VehicleCacheItem()
|
||||
{
|
||||
VehicleIds = new List<int>();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PartSource.Automation.Models.Configuration
|
||||
{
|
||||
public class EmailConfiguration
|
||||
{
|
||||
public string From { get; set; }
|
||||
|
||||
public string To { get; set; }
|
||||
|
||||
public string SmtpHost { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PartSource.Automation.Models.Configuration
|
||||
{
|
||||
public class FtpConfiguration
|
||||
{
|
||||
public string Url { get; set; }
|
||||
|
||||
public string Destination { get; set; }
|
||||
|
||||
public string Username { get; set; }
|
||||
|
||||
public string Password { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PartSource.Automation.Models.Configuration
|
||||
{
|
||||
public class SsisConfiguration
|
||||
{
|
||||
public string Directory { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user