-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60f0370
commit 5d301ea
Showing
6 changed files
with
199 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
PlanB.Butler.Services/PlanB.Butler.Services/Models/OrderModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
// Copyright (c) PlanB. GmbH. All Rights Reserved. | ||
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. | ||
|
||
using System; | ||
|
||
namespace PlanB.Butler.Services.Models | ||
{ | ||
/// <summary> | ||
/// OrderModel. | ||
/// </summary> | ||
public class OrderModel | ||
{ | ||
/// <summary> | ||
/// Gets or sets the date. | ||
/// </summary> | ||
/// <value> | ||
/// The date. | ||
/// </value> | ||
public DateTime Date { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the company status. | ||
/// </summary> | ||
/// <value> | ||
/// The company status. | ||
/// </value> | ||
public string CompanyStatus { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the name. | ||
/// </summary> | ||
/// <value> | ||
/// The name. | ||
/// </value> | ||
public string Name { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the name of the company. | ||
/// </summary> | ||
/// <value> | ||
/// The name of the company. | ||
/// </value> | ||
public string CompanyName { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the restaurant. | ||
/// </summary> | ||
/// <value> | ||
/// The restaurant. | ||
/// </value> | ||
public string Restaurant { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the meal. | ||
/// </summary> | ||
/// <value> | ||
/// The meal. | ||
/// </value> | ||
public string Meal { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the price. | ||
/// </summary> | ||
/// <value> | ||
/// The price. | ||
/// </value> | ||
public double Price { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the quantity. | ||
/// </summary> | ||
/// <value> | ||
/// The quantity. | ||
/// </value> | ||
public int Quantity { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the total. | ||
/// </summary> | ||
/// <value> | ||
/// The total. | ||
/// </value> | ||
public double Total { get; set; } | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
PlanB.Butler.Services/PlanB.Butler.Services/Models/OrdersModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// Copyright (c) PlanB. GmbH. All Rights Reserved. | ||
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace PlanB.Butler.Services.Models | ||
{ | ||
/// <summary> | ||
/// OrdersModel. | ||
/// </summary> | ||
public class OrdersModel | ||
{ | ||
/// <summary> | ||
/// Gets or sets the date. | ||
/// </summary> | ||
/// <value> | ||
/// The date. | ||
/// </value> | ||
public DateTime Date { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the name of the login. | ||
/// </summary> | ||
/// <example>[email protected].</example> | ||
/// <value> | ||
/// The name of the login. | ||
/// </value> | ||
public string LoginName { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the orders. | ||
/// </summary> | ||
/// <value> | ||
/// The orders. | ||
/// </value> | ||
public List<OrderModel> Orders { get; set; } | ||
} | ||
} |
Oops, something went wrong.