This commit is contained in:
Eugenio Chiodo
2021-04-26 15:35:44 +02:00
parent 9182a1051c
commit f537d097ec
84 changed files with 43538 additions and 0 deletions

View File

@ -0,0 +1,9 @@
namespace drinkMe.Server.Models
{
public class DiscountCode
{
public string Code { get; set; }
public float DiscountPercentage { get; set; }
public int[] ApplicableProducts { get; set; }
}
}

View File

@ -0,0 +1,11 @@
namespace drinkMe.Server.Models
{
public class Drink
{
public int Id { get; set; }
public string Name { get; set; } = "Missing name";
public string Description { get; set; } = "Missing description";
public float Price { get; set; } = 0;
public string PictureName { get; set; } = "missing.png";
}
}

View File

@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
</Project>