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
739 B
C#
30 lines
739 B
C#
using SqlSugar;
|
|
|
|
namespace DS.Module.SqlSugar;
|
|
|
|
/// <summary>
|
|
/// 租户数据库链接
|
|
/// </summary>
|
|
[global::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 global::SqlSugar.DbType DbType { get; set; } = global::SqlSugar.DbType.MySql;
|
|
/// <summary>
|
|
/// 数据库链接字符串
|
|
/// </summary>
|
|
public string Connection { get; set; }
|
|
} |