招聘后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

48 lines
1.1 KiB

using System;
using System.Runtime.Serialization;
namespace Znyc.Recruitment.Admin.AspNetCore.ViewModel
{
/// <summary>
/// 数据库连接字符串实体
/// </summary>
[Serializable]
public class DbConnInfo
{
/// <summary>
/// 访问地址
/// </summary>
[DataMember]
public string DbAddress { get; set; }
/// <summary>
/// 端口,默认SQLServer为1433;Mysql为3306
/// </summary>
[DataMember]
public int DbPort { get; set; }
/// <summary>
/// 数据库名称
/// </summary>
[DataMember]
public string DbName { get; set; }
/// <summary>
/// 用户名
/// </summary>
[DataMember]
public string DbUserName { get; set; }
/// <summary>
/// 访问密码
/// </summary>
[DataMember]
public string DbPassword { get; set; }
/// <summary>
/// 数据库类型
/// </summary>
[DataMember]
public string DbType { get; set; }
}
}