PIbd-23_Abazov_A.A._Constru.../ConstructionCompany/ConstructionCompanyContracts/BindingModels/OrderBindingModel.cs

30 lines
800 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using ConstructionCompanyDataModels.Enums;
using ConstructionCompanyDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConstructionCompanyContracts.BindingModels
{
public class OrderBindingModel : IOrderModel
{
public string Description { get; set; } = string.Empty;
public string Adress { get; set; } = string.Empty;
public double Price { get; set; }
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
public string CustomerNumber { get; set; } = string.Empty;
public DateTime DateBegin { get; set; } = DateTime.Now.Date;
public DateTime? DateEnd { get; set; }
public int Id { get; set; }
}
}