Files
Umbraco-CMS/src/Umbraco.Core/Models/EntityContainer.cs

25 lines
655 B
C#
Raw Normal View History

2015-11-13 16:33:54 +01:00
using System;
using Umbraco.Core.Models.EntityBase;
namespace Umbraco.Core.Models
{
/// <summary>
/// Represents a folder for organizing entities such as content types and data types
/// </summary>
public sealed class EntityContainer : UmbracoEntity, IAggregateRoot
{
public EntityContainer()
{
}
2015-11-13 16:33:54 +01:00
public EntityContainer(int id, Guid uniqueId, int parentId, string name, int userId, string path)
{
Id = id;
2015-11-13 16:33:54 +01:00
Key = uniqueId;
ParentId = parentId;
Name = name;
CreatorId = userId;
Path = path;
}
}
}