using System.ComponentModel.DataAnnotations;

namespace GerbilManagerWebAPI.Models
{
    /// <summary>A photo of an enclosure (Gehege). Mirrors <see cref="GerbilPhoto"/>:
    /// the file lives under the shared photo-storage root; only the file name is in the DB.</summary>
    public class EnclosurePhoto
    {
        [Key]
        public Guid Id { get; set; }
        public Guid EnclosureId { get; set; }
        public required string FileName { get; set; }
        public string? Caption { get; set; }
        public int SortOrder { get; set; }
        public DateTimeOffset CreatedAt { get; set; }
    }
}
