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

30 lines
722 B
C#

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