Files
DailyMeals/MealPlan.Api/Models/RecipeStep.cs
2026-06-04 06:24:56 +02:00

25 lines
524 B
C#

using System.ComponentModel.DataAnnotations.Schema;
namespace MealPlan.Api.Models;
/// <summary>
/// Maps to the existing "RecipeSteps" table.
/// </summary>
[Table("RecipeSteps")]
public class RecipeStep
{
[Column("Id")]
public int Id { get; set; }
[Column("RecipeId")]
public int RecipeId { get; set; }
[Column("StepNumber")]
public int StepNumber { get; set; }
[Column("Description")]
public string Description { get; set; } = string.Empty;
public Recipe? Recipe { get; set; }
}