Подредачил viewmodels
This commit is contained in:
parent
9a30c35fad
commit
167a915d9f
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace ComputerShopContracts.ViewModels
|
namespace ComputerShopContracts.ViewModels
|
||||||
{
|
{
|
||||||
public class OrderViewModel
|
public class OrderViewModel : IOrderModel
|
||||||
{
|
{
|
||||||
[DisplayName("Номер")]
|
[DisplayName("Номер")]
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
@ -27,7 +27,7 @@ namespace ComputerShopContracts.ViewModels
|
|||||||
|
|
||||||
//!!!МБ НЕ НУЖНО DateTime.Now
|
//!!!МБ НЕ НУЖНО DateTime.Now
|
||||||
[DisplayName("Дата оформления")]
|
[DisplayName("Дата оформления")]
|
||||||
public DateTime DateMake { get; set; } = DateTime.Now;
|
public DateTime DateCreate { get; set; } = DateTime.Now;
|
||||||
|
|
||||||
[DisplayName("Статус")]
|
[DisplayName("Статус")]
|
||||||
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
|
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
|
||||||
|
@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace ComputerShopContracts.ViewModels
|
namespace ComputerShopContracts.ViewModels
|
||||||
{
|
{
|
||||||
public class RequestViewModel
|
public class RequestViewModel : IRequestModel
|
||||||
{
|
{
|
||||||
[DisplayName("Номер")]
|
[DisplayName("Номер")]
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace ComputerShopContracts.ViewModels
|
namespace ComputerShopContracts.ViewModels
|
||||||
{
|
{
|
||||||
public class ShipmentViewModel
|
public class ShipmentViewModel : IShipmentModel
|
||||||
{
|
{
|
||||||
//!!!ТУТ МБ НЕ НУЖЕН DisplayName
|
//!!!ТУТ МБ НЕ НУЖЕН DisplayName
|
||||||
[DisplayName("Номер")]
|
[DisplayName("Номер")]
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
using System;
|
using ComputerShopDataModels.Models;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@ -7,7 +8,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace ComputerShopContracts.ViewModels
|
namespace ComputerShopContracts.ViewModels
|
||||||
{
|
{
|
||||||
public class UserViewModel
|
public class UserViewModel : IUserModel
|
||||||
{
|
{
|
||||||
//!!!МБ ТУТ НАДО DisplayName (НО ВРЯД ЛИ)
|
//!!!МБ ТУТ НАДО DisplayName (НО ВРЯД ЛИ)
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user