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 { /// <summary> /// 租户ID /// </summary> [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "租户ID")] public int TenantId { get; set; } /// <summary> /// 租户åç§° /// </summary> [SugarColumn(Length = 200, IsNullable = false, ColumnDescription = "租户åç§°")] public string TenantName { get; set; } /// <summary> /// 租户类型 /// </summary> [SugarColumn(IsNullable = false, ColumnDescription = "租户类型")] public int TenantType { get; set; } /// <summary> /// æ•°æ®åº“类型 /// </summary> [SugarColumn(IsNullable = false, ColumnDescription = "æ•°æ®åº“类型")] public int DbType { get; set; } /// <summary> /// 连接å—符串 /// </summary> [SugarColumn(Length = 1000, IsNullable = false, ColumnDescription = "连接å—符串")] public string ConnectionString { get; set; } /// <summary> /// çŠ¶æ€ /// </summary> [SugarColumn(IsNullable = false, ColumnDescription = "状æ€")] public int Status { get; set; } /// <summary> /// 备注 /// </summary> [SugarColumn(Length = 2000, IsNullable = true, ColumnDescription = "备注")] public string Remark { get; set; } } }