// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ========================================================================== using Squidex.Infrastructure; using Squidex.Infrastructure.Commands; namespace Squidex.Domain.Apps.Entities.Contents.Commands { public abstract class ContentCommand : SquidexCommand, IAppCommand, ISchemaCommand, IAggregateCommand { public NamedId AppId { get; set; } public NamedId SchemaId { get; set; } public DomainId ContentId { get; set; } public bool DoNotScript { get; set; } public DomainId AggregateId { get { return DomainId.Combine(AppId, ContentId); } } } }