PIbd-31_MasenkinMS_COP_22/Components/Contracts/BindingModels/OrderBindingModel.cs
2024-09-23 05:00:01 +04:00

41 lines
1.0 KiB
C#

using DataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.BindingModels
{
/// <summary>
/// Модель привязки для сущности "Счет"
/// </summary>
public class OrderBindingModel : IOrderModel
{
/// <summary>
/// Идентификатор
/// </summary>
public int Id { get; set; }
/// <summary>
/// ФИО официанта
/// </summary>
public string WaiterFullName { get; set; } = string.Empty;
/// <summary>
/// Информация по счету
/// </summary>
public string Info { get; set; } = string.Empty;
/// <summary>
/// Тип заказа
/// </summary>
public string Type { get; set; } = string.Empty;
/// <summary>
/// Сумма заказа
/// </summary>
public double? Sum { get; set; }
}
}