ibms-dome/Repository/Models/DBConfig.cs

33 lines
804 B
C#
Raw Permalink Normal View History

2022-10-14 16:08:54 +08:00
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; }
}
}