JXMovies/Core/JXCMS.Core/Db/DbConfig.cs
2020-02-09 19:10:05 +08:00

43 lines
1002 B
C#
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace JXCMS.Core.Db
{
/// <summary>
/// 数据库配置类
/// </summary>
public class DbConfig
{
/// <summary>
/// 数据库类型目前支持sqlite,mysql,sqlserver,oracle,postgresql
/// </summary>
public string DbType { get; set; }
/// <summary>
/// 数据库URL
/// </summary>
public string DbUrl { get; set; }
/// <summary>
/// 数据库端口号
/// </summary>
public string DbPort { get; set; }
/// <summary>
/// 数据库名
/// </summary>
public string DbName { get; set; }
/// <summary>
/// 数据库用户名
/// </summary>
public string Username { get; set; }
/// <summary>
/// 数据库密码
/// </summary>
public string Password { get; set; }
/// <summary>
/// 表前缀
/// </summary>
public string Prefix { get; set; }
}
}