dengjunjie
2025-07-09 7ca9651f81d7b84f054194d3d46fdbd1d9c8b922
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Tenant.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,57 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.DB.Models;
using WIDESEA_Core.Tenants;
namespace WIDESEA_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; }
    }
}