using SqlSugar; namespace DS.Module.SqlSugar; /// /// 租户数据库链接 /// [global::SqlSugar.SugarTable("sys_tenant_dblink")] public class SysTenantLink { /// /// ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 租户id /// public long TenantId { get; set; } /// /// 数据库类型 /// [SugarColumn(ColumnDescription = "数据库类型")] public global::SqlSugar.DbType DbType { get; set; } = global::SqlSugar.DbType.MySql; /// /// 数据库链接字符串 /// public string Connection { get; set; } }