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