You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
774 B

using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace Wood.Entity.SystemManage;
/// <summary>
/// 系统租户表
/// </summary>
[SugarTable("SysTenant", "系统租户表")]
[SugarIndex("SysTenant_TenantName", nameof(TenantName), OrderByType.Desc, true)]
public class TenantEntity : EntityBaseExtra
{
/// <summary>
/// 租户名称
/// </summary>
[SugarColumn(ColumnDescription = "租户名称", IsNullable = true,Length =32)]
[Required]
public string TenantName { get; set; } = "";
/// <summary>
/// 租户机构
/// </summary>
[SugarColumn(ColumnDescription = "租户机构")]
public long OrgId { get; set; }
/// <summary>
/// 排序
/// </summary>
[SugarColumn(ColumnDescription = "排序")]
public int Sort { get; set; } = 100;
}