You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
482 B
20 lines
482 B
namespace BlazingPizza
|
|
{
|
|
/// <summary>
|
|
/// Represents a pre-configured template for a pizza a user can order
|
|
/// </summary>
|
|
public class PizzaSpecial
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public decimal BasePrice { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public string ImageUrl { get; set; }
|
|
|
|
public string GetFormattedBasePrice() => BasePrice.ToString("0.00");
|
|
}
|
|
}
|
|
|