femto-backend/Femto.Modules.Blog/Application/Commands/CreatePost/CreatePostCommand.cs
2025-05-18 13:40:05 +02:00

8 lines
333 B
C#

using Femto.Common.Domain;
namespace Femto.Modules.Blog.Application.Commands.CreatePost;
public record CreatePostCommand(Guid AuthorId, string Content, IEnumerable<CreatePostMedia> Media, bool? IsPublic)
: ICommand<Guid>;
public record CreatePostMedia(Guid MediaId, Uri Url, string? Type, int Order, int? Width, int? Height);