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