using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Domain.Entities.Store; /// 게임 상세 이미지 갤러리 (스크린샷). FeedPostImage 패턴. public class GameImage { [ForeignKey(nameof(GameID))] public virtual Game Game { get; set; } = null!; [Key] public int ID { get; set; } public int GameID { get; set; } public Guid UUID { get; set; } = Guid.NewGuid(); public string FileName { get; set; } = default!; public string HashedName { get; set; } = default!; public string Path { get; set; } = default!; public string Url { get; set; } = default!; public string? Extension { get; set; } public string? ContentType { get; set; } public long? Size { get; set; } public short? Width { get; set; } public short? Height { get; set; } public int Order { get; set; } public bool IsDisabled { get; set; } = false; public DateTime? DisabledAt { get; set; } public DateTime CreatedAt { get; set; } = DateTime.UtcNow; }