Converting server to dotnet
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
using RanazePos.Api.Models;
|
||||
|
||||
namespace RanazePos.Api.Configuration;
|
||||
|
||||
public static class Defaults
|
||||
{
|
||||
public static readonly PosSettings Settings = new()
|
||||
{
|
||||
SizeOptions =
|
||||
[
|
||||
new() { Name = "Regular", Delta = 0m },
|
||||
new() { Name = "Large", Delta = 1m }
|
||||
],
|
||||
SweetnessOptions = ["0%", "25%", "50%", "75%", "100%"],
|
||||
IceOptions = ["No Ice", "Less Ice", "Regular Ice"],
|
||||
Toppings =
|
||||
[
|
||||
new() { Name = "Boba", Price = 0.75m },
|
||||
new() { Name = "Pudding", Price = 0.85m },
|
||||
new() { Name = "Cheese Foam", Price = 1.25m },
|
||||
new() { Name = "Lychee Jelly", Price = 0.75m }
|
||||
]
|
||||
};
|
||||
|
||||
public static readonly IReadOnlyList<MenuItemDocument> Menu =
|
||||
[
|
||||
new()
|
||||
{
|
||||
Name = "Classic Milk Tea",
|
||||
Category = "Milk Tea",
|
||||
Description = "Black tea, milk, and brown sugar tapioca.",
|
||||
BasePrice = 5.5m
|
||||
},
|
||||
new()
|
||||
{
|
||||
Name = "Taro Milk Tea",
|
||||
Category = "Milk Tea",
|
||||
Description = "Creamy taro with optional boba or pudding.",
|
||||
BasePrice = 6m
|
||||
},
|
||||
new()
|
||||
{
|
||||
Name = "Mango Green Tea",
|
||||
Category = "Fruit Tea",
|
||||
Description = "Bright green tea with mango puree.",
|
||||
BasePrice = 5.75m
|
||||
},
|
||||
new()
|
||||
{
|
||||
Name = "Strawberry Yakult",
|
||||
Category = "Specialty",
|
||||
Description = "Strawberry fruit tea with probiotic yogurt.",
|
||||
BasePrice = 6.25m
|
||||
}
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user