// ========================================================================== // HistoryEventDto.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // ========================================================================== using System; using System.ComponentModel.DataAnnotations; using NodaTime; namespace Squidex.Areas.Api.Controllers.History.Models { public sealed class HistoryEventDto { /// /// The message of the event. /// [Required] public string Message { get; set; } /// /// The user who called the action. /// [Required] public string Actor { get; set; } /// /// Gets a unique id for the event. /// public Guid EventId { get; set; } /// /// The time when the event happened. /// public Instant Created { get; set; } /// /// The version identifier. /// public long Version { get; set; } } }