Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System.Collections.Generic;
namespace BeckmanComms.Api.DataTransferObjects.V2.Cafe
{
/// <summary>
/// Data Transfer Object representing a
/// </summary>
public class DishDto
{
/// <summary>
/// The name of the dish.
/// </summary>
public string Name { get; set; }
/// <summary>
/// The category of the dish (e.g., Soup, Sandwich, Salad).
/// </summary>
public string Category { get; set; }
/// <summary>
/// The description of the dish.
/// </summary>
public string Description { get; set; }
/// <summary>
/// The path to the image of the dish.
/// </summary>
public string Image { get; set; }
/// <summary>
/// The description of the image of the dish, suitable for use as alt text.
/// </summary>
public string ImageDescription { get; set; }
/// <summary>
/// The standard price of the dish.
/// </summary>
public double StandardPrice { get; set; }
/// <summary>
/// The price of a half-order of the dish, when available.
/// </summary>
public double? HalfPrice { get; set; }
/// <summary>
/// Indicates whether the item is available every day ( <c>DishDto.Specialty == false</c>) or
/// as an occasional specialty item ( <c>DishDto.Specialty == true</c>).
/// </summary>
public bool Specialty { get; set; }
/// <summary>
/// Indicates whether the item is in-stock ( <c>DishDto.SoldOut == false</c>) or sold-out (
/// <c>DishDto.SoldOut == true</c>).
/// </summary>
public bool SoldOut { get; set; }
/// <summary>
/// Indicates whether the item should not be displayed as a featured item (
/// <c>DishDto.Featured == false</c>) or should be displayed as a featured item (
/// <c>DishDto.SoldOut == true</c>).