using System.ComponentModel;
namespace DS.Module.Core.Data;
///
/// 用户实体基类-更新租户Id
///
public abstract class UserTenantModel : BaseModel, ITenantId
{
///
/// 主键ID
///
[Description("主键ID")]
[SqlSugar.SugarColumn(IsPrimaryKey = true, Length = 100, ColumnDescription = "主键ID")]
public TKey Id { get; set; }
///
/// 租户Id
///
[SqlSugar.SugarColumn(ColumnDescription = "租户Id")]
public long TenantId { get; set; } = 0;
///
/// 租户名称
///
[SqlSugar.SugarColumn(ColumnDescription = "租户名称", Length = 150)]
public string TenantName { get; set; }
}