using zero.Core.Attributes; namespace zero.Core.Entities { public class RecycledEntity : ZeroEntity, IRecycledEntity { /// public string OriginalId { get; set; } /// public string OperationId { get; set; } /// public string Group { get; set; } /// public IZeroEntity Content { get; set; } } [Collection("RecycleBin")] public interface IRecycledEntity : IZeroEntity, IZeroDbConventions { /// /// Id of the recycled entity /// string OriginalId { get; set; } /// /// Group recycled entities together which have been recycled in a single operation /// string OperationId { get; set; } /// /// Contains the entity content /// IZeroEntity Content { get; set; } /// /// Recycled entities can be grouped together (e.g. pages, media, ...) /// string Group { get; set; } } }