33 lines
804 B
C#
33 lines
804 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Repository.Models
|
|
{
|
|
public class DBConfig
|
|
{
|
|
public MySqlDBConfig MySqlDBConfig { get; set; }
|
|
public MSSqlDBConfig MSSqlDBConfig { get; set; }
|
|
}
|
|
|
|
public class MySqlDBConfig
|
|
{
|
|
public string Server { get; set; }
|
|
public string Port { get; set; }
|
|
public string Database { get; set; }
|
|
public string Root { get; set; }
|
|
public string Password { get; set; }
|
|
}
|
|
|
|
public class MSSqlDBConfig
|
|
{
|
|
public string Server { get; set; }
|
|
public string Port { get; set; }
|
|
public string Database { get; set; }
|
|
public string Root { get; set; }
|
|
public string Password { get; set; }
|
|
}
|
|
|
|
}
|