First Initial

This commit is contained in:
Nakorn Rientrakrunchai
2020-02-20 15:02:39 +07:00
commit 8b98125e49
3048 changed files with 760804 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace STAFF_API.Configure
{
public class EGPWebAPIConfig
{
public string RootUrl { get; set; }
public EGPWebAPIService EGPServices { get; set; }
public LDAPWebAPIService LDAPServices { get; set; }
public class EGPWebAPIService
{
public string GetProjectDetail { get; set; }
}
public class LDAPWebAPIService
{
public string Login { get; set; }
public string CheckAccount { get; set; }
}
}
}

12
Configure/FrontConfig.cs Normal file
View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace STAFF_API.Configure
{
public class FrontConfig
{
public string RootUrl { get; set; }
}
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TTSW.Configure
{
/// <summary>
/// This class if used for configuration
/// </summary>
public class IdentityServerConfig
{
public string url { get; set; }
public string apiName { get; set; }
public string apiSecret { get; set; }
public string clientSecret { get; set; }
public string clientName { get; set; }
}
}

18
Configure/MailConfig.cs Normal file
View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace STAFF_API.Configure
{
public class MailConfig
{
public string Host { get; set; }
public int Port { get; set; }
public string Password { get; set; }
public string UserName { get; set; }
public bool DefaultCredentials { get; set; }
public bool EnableSsl { get; set; }
public string From { get; set; }
}
}