using System.ComponentModel.DataAnnotations; namespace API.Schema.ActionsContext.Actions; public sealed class DataMovedActionRecord(ActionsEnum action, DateTime performedAt, string from, string to) : ActionRecord(action, performedAt) { public DataMovedActionRecord(string from, string to) : this(ActionsEnum.DataMoved, DateTime.UtcNow, from, to) { } /// /// From path /// [StringLength(2048)] public string From { get; init; } = from; /// /// To path /// [StringLength(2048)] public string To { get; init; } = to; }