Headless CMS and Content Managment Hub
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.
 
 
 
 
 

30 lines
793 B

// ==========================================================================
// CreateApp.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ==========================================================================
using System;
using Squidex.Infrastructure.Commands;
namespace Squidex.Domain.Apps.Entities.Apps.Commands
{
public sealed class CreateApp : SquidexCommand, IAggregateCommand
{
public Guid AppId { get; set; }
public string Name { get; set; }
Guid IAggregateCommand.AggregateId
{
get { return AppId; }
}
public CreateApp()
{
AppId = Guid.NewGuid();
}
}
}