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.
30 lines
849 B
30 lines
849 B
// ==========================================================================
|
|
// AssetCreated.cs
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex Group
|
|
// All rights reserved.
|
|
// ==========================================================================
|
|
|
|
using Squidex.Infrastructure.CQRS.Events;
|
|
|
|
namespace Squidex.Domain.Apps.Events.Assets
|
|
{
|
|
[EventType(nameof(AssetCreated))]
|
|
public sealed class AssetCreated : AssetEvent
|
|
{
|
|
public string FileName { get; set; }
|
|
|
|
public string MimeType { get; set; }
|
|
|
|
public long FileVersion { get; set; }
|
|
|
|
public long FileSize { get; set; }
|
|
|
|
public bool IsImage { get; set; }
|
|
|
|
public int? PixelWidth { get; set; }
|
|
|
|
public int? PixelHeight { get; set; }
|
|
}
|
|
}
|
|
|