19 lines
437 B
C#
19 lines
437 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace MealPlan.Api.Models;
|
|
|
|
[Table("UserFavoriteCatalogItems")]
|
|
public class UserFavoriteCatalogItem
|
|
{
|
|
[Column("UserId")]
|
|
public Guid UserId { get; set; }
|
|
|
|
[Column("CatalogItemId")]
|
|
public int CatalogItemId { get; set; }
|
|
|
|
[Column("CreatedAt")]
|
|
public DateTime CreatedAt { get; set; }
|
|
|
|
public IngredientNutritionCatalogItem? CatalogItem { get; set; }
|
|
}
|