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
719 B
C#

10 months ago
using SqlSugar;
namespace DS.WMS.Core.Sys.Entity;
10 months ago
/// <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 = "数据库类型")]
10 months ago
public SqlSugar.DbType DbType { get; set; } = SqlSugar.DbType.MySql;
10 months ago
/// <summary>
/// 数据库链接字符串
/// </summary>
public string Connection { get; set; }
}