using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.DB.Models; using WIDESEAWCS_Core.Tenants; namespace WIDESEAWCS_Model.Models { [SugarTable("Sys_Tenant", "租户")] public class Sys_Tenant : BaseEntity { /// /// 租户ID /// [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "租户ID")] public int TenantId { get; set; } /// /// 租户名称 /// [SugarColumn(Length = 200, IsNullable = false, ColumnDescription = "租户名称")] public string TenantName { get; set; } /// /// 租户类型 /// [SugarColumn(IsNullable = false, ColumnDescription = "租户类型")] public int TenantType { get; set; } /// /// 数据库类型 /// [SugarColumn(IsNullable = false, ColumnDescription = "数据库类型")] public int DbType { get; set; } /// /// 连接字符串 /// [SugarColumn(Length = 1000, IsNullable = false, ColumnDescription = "连接字符串")] public string ConnectionString { get; set; } /// /// 状态 /// [SugarColumn(IsNullable = false, ColumnDescription = "状态")] public int Status { get; set; } /// /// 备注 /// [SugarColumn(Length = 2000, IsNullable = true, ColumnDescription = "备注")] public string Remark { get; set; } } }