mirror of
https://github.com/yummy4friends/y4f.git
synced 2025-07-21 23:35:52 +02:00
Restructure the solution * The project has been split into the database integration "src/webapi" and the Blazor wasm project "src/y4f". WebAPI * API with CRUD capabilities * The main task of the "WebAPI" project is to access the database data and make it available to the Blazor-WASM project via an API. * GET example of the allergy table via the file "TestFetchAllergienData.razor", which can be tested via the browser "/TestFetchAllergienData".
24 lines
701 B
C#
24 lines
701 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace WebApi.Models;
|
|
|
|
public partial class Menuitem
|
|
{
|
|
public int IdmenuItem { get; set; }
|
|
|
|
public string? Bezeichnung { get; set; }
|
|
|
|
public string? Zusatzinformation { get; set; }
|
|
|
|
public decimal? Preis { get; set; }
|
|
|
|
public int MenuItemKategorieIdmenuItemKategorie { get; set; }
|
|
|
|
public virtual Menuitemkategorie MenuItemKategorieIdmenuItemKategorieNavigation { get; set; } = null!;
|
|
|
|
public virtual ICollection<Allergie> AllergieIdallergies { get; set; } = new List<Allergie>();
|
|
|
|
public virtual ICollection<Bestellungsposition> BestellungspositionIdbestellungs { get; set; } = new List<Bestellungsposition>();
|
|
}
|