using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; namespace App.Entities; [Table("Recording")] public class RecordingEntity { [Key] public long RecordingId { get; set; } [Required] public bool HasTemplate { get; set; } [Required] public bool IsEnabled { get; set; } [MaxLength(128)] public string? Name { get; set; } [MaxLength(2048)] [Required] public string Uri { get; set; } public DateTime Updated { get; set; } public DateTime Inserted { get; set; } = DateTime.UtcNow; }