using System.ComponentModel.DataAnnotations;

namespace Recepie.Models
{
    public class RecipeStep
    {
        [Key]
        public int Id { get; set; }

        public int RecipeId { get; set; }
        public int StepNumber { get; set; }
        public string Text { get; set; } = string.Empty;

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