2020-09-04 11:50:22 +02:00
|
|
|
using zero.Core.Attributes;
|
|
|
|
|
|
|
|
|
|
namespace zero.Core.Entities
|
|
|
|
|
{
|
|
|
|
|
[Collection("Previews")]
|
2021-05-04 17:23:52 +02:00
|
|
|
public class Preview : ZeroEntity
|
2020-09-04 11:50:22 +02:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id of the original entity
|
|
|
|
|
/// </summary>
|
2021-05-04 17:23:52 +02:00
|
|
|
public string OriginalId { get; set; }
|
2020-09-04 11:50:22 +02:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Contains the entity content
|
|
|
|
|
/// </summary>
|
2021-05-04 17:23:52 +02:00
|
|
|
public ZeroEntity Content { get; set; }
|
2020-09-04 11:50:22 +02:00
|
|
|
}
|
|
|
|
|
}
|