using zero.Core.Attributes;
namespace zero.Core.Entities
{
public class Preview : ZeroEntity, IPreview
{
///
public string OriginalId { get; set; }
///
public IZeroEntity Content { get; set; }
}
[Collection("Previews")]
public interface IPreview : IZeroEntity, IZeroDbConventions
{
///
/// Id of the original entity
///
string OriginalId { get; set; }
///
/// Contains the entity content
///
IZeroEntity Content { get; set; }
}
}