namespace SqlSugar; /// /// 租户数据库连接模型. /// public class TenantLinkModel { /// /// id. /// public string id { get; set; } /// /// 数据库名. /// public string serviceName { get; set; } /// /// 用户名. /// public string userName { get; set; } /// /// 状态(1-可用,0-禁用). /// public int enabledMark { get; set; } /// /// 端口. /// public string port { get; set; } /// /// 连接名称. /// public string fullName { get; set; } /// /// 主机地址. /// public string host { get; set; } /// /// 密码. /// public string password { get; set; } /// /// 排序. /// public long? sortCode { get; set; } /// /// 模式. /// public string dbSchema { get; set; } /// /// 表空间. /// public string tableSpace { get; set; } /// /// 连接配置(0:主,1:从). /// public int? configType { get; set; } /// /// 数据库类型. /// public string dbType { get; set; } /// /// Oracle参数字段. /// public string oracleParam { get; set; } /// /// 自定义连接语句. /// public string connectionStr { get; set; } /// /// 租户id. /// public string tenantId { get; set; } }