using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Recepie.Models
{
    public class RecipeImage
    {
        // No ID column - use recepieId as key
        [Key]
        public int RecipeId { get; set; }

        public byte[]? ImageData { get; set; }

        // Navigation property
        public Recipe? Recipe { get; set; }
    }
}