24 lines
455 B
C#
24 lines
455 B
C#
using HZY.Framework.Repository.EntityFramework.Models;
|
|
|
|
|
|
namespace MiaoYu.Core.EntityFramework.Models;
|
|
|
|
/// <summary>
|
|
/// 妙语聊天项目
|
|
/// </summary>
|
|
public class DefaultEntityV4 : EntityIdentity<int>, ITenantEntity
|
|
{
|
|
public virtual Guid TenantId { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 多租户
|
|
/// </summary>
|
|
public interface ITenantEntity : IEntity
|
|
{
|
|
/// <summary>
|
|
/// 所属租户
|
|
/// </summary>
|
|
Guid TenantId { get; set; }
|
|
}
|