using System.ComponentModel.DataAnnotations; namespace GerbilManagerWebAPI.Models { /// A photo of a gerbil. The file lives under a configured FS root; only the /// file name is stored in the DB. The first photo by SortOrder is the profile photo. public class GerbilPhoto { [Key] public Guid Id { get; set; } public Guid GerbilId { get; set; } public required string FileName { get; set; } public string? Caption { get; set; } public int SortOrder { get; set; } public DateTimeOffset CreatedAt { get; set; } } }