| 123456789101112131415161718 |
- using System.ComponentModel.DataAnnotations;
- namespace Recepie.Models
- {
- public class RecipeIngredientLink
- {
- public int RecipeId { get; set; }
- public int IngredientId { get; set; }
- // Amount and measurement information
- public string? Amount { get; set; }
- public string? Measurement { get; set; }
- // Navigation properties
- public Recipe? Recipe { get; set; }
- public Ingredient? Ingredient { get; set; }
- }
- }
|