ISEbd-21_Gavrilov_R.A._CarR.../CarRepairShop/CarRepairShopContracts/BindingModels/OrderBindingModel.cs

22 lines
684 B
C#
Raw Normal View History

2024-05-17 00:00:36 +04:00
using CarRepairShopDataModels.Enums;
using CarRepairShopDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarRepairShopContracts.BindingModels
{
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }
public int RepairId { get; set; }
public int Count { get; set; }
public double Sum { get; set; }
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
2024-05-17 01:07:06 +04:00
public DateTime DateCreate { get; set; } = DateTime.Now.ToUniversalTime();
2024-05-17 00:00:36 +04:00
public DateTime? DateImplement { get; set; }
}
}