mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
// ==========================================================================
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex UG (haftungsbeschraenkt)
|
|
// All rights reserved. Licensed under the MIT license.
|
|
// ==========================================================================
|
|
|
|
using System;
|
|
using NodaTime;
|
|
using Squidex.Domain.Apps.Core.Contents;
|
|
using Squidex.Infrastructure;
|
|
|
|
namespace Squidex.Domain.Apps.Core.HandleRules.EnrichedEvents
|
|
{
|
|
public sealed class EnrichedContentEvent : EnrichedSchemaEventBase, IEnrichedEntityEvent
|
|
{
|
|
public EnrichedContentEventType Type { get; set; }
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
public Instant Created { get; set; }
|
|
|
|
public Instant LastModified { get; set; }
|
|
|
|
public RefToken CreatedBy { get; set; }
|
|
|
|
public RefToken LastModifiedBy { get; set; }
|
|
|
|
public NamedContentData Data { get; set; }
|
|
|
|
public Status Status { get; set; }
|
|
|
|
public override long Partition
|
|
{
|
|
get { return SchemaId.GetHashCode(); }
|
|
}
|
|
}
|
|
}
|
|
|