29 lines
698 B
C#
29 lines
698 B
C#
using zero.Core.Attributes;
|
|
|
|
namespace zero.Core.Entities
|
|
{
|
|
[Collection("RecycleBin")]
|
|
public class RecycledEntity : ZeroEntity
|
|
{
|
|
/// <summary>
|
|
/// Id of the recycled entity
|
|
/// </summary>
|
|
public string OriginalId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Group recycled entities together which have been recycled in a single operation
|
|
/// </summary>
|
|
public string OperationId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Contains the entity content
|
|
/// </summary>
|
|
public ZeroEntity Content { get; set; }
|
|
|
|
/// <summary>
|
|
/// Recycled entities can be grouped together (e.g. pages, media, ...)
|
|
/// </summary>
|
|
public string Group { get; set; }
|
|
}
|
|
}
|