using System.ComponentModel.DataAnnotations;
namespace NoticeBoard.Models;
public class DeviceSlide
{
public int Id { get; set; }
public int DeviceId { get; set; }
public Device Device { get; set; } = null!;
public int SlideId { get; set; }
public Slide Slide { get; set; } = null!;
/// Order in the playlist (lower = first)
public int DisplayOrder { get; set; }
/// Duration in seconds to show this slide
[Range(5, 3600)]
public int DurationSeconds { get; set; } = 30;
/// Whether this slide is currently enabled in the playlist
public bool Enabled { get; set; } = true;
}