using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace API.Schema.ActionsContext;
[PrimaryKey("Key")]
public abstract class ActionRecord(string action, DateTime performedAt) : Identifiable
{
///
/// Constant string that describes the performed Action
///
[StringLength(128)]
public string Action { get; init; } = action;
///
/// UTC Time when Action was performed
///
public DateTime PerformedAt { get; init; } = performedAt;
}