using SqlSugar;
namespace DS.WMS.PrintApi.Model
{
///
/// 租户数据库链接
///
[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 SqlSugar.DbType DbType { get; set; } = SqlSugar.DbType.MySql;
///
/// 数据库链接字符串
///
public string Connection { get; set; }
}
}