21 lines
758 B
C#
21 lines
758 B
C#
using System.ComponentModel;
|
|
using ClientsDataModels.Models;
|
|
|
|
namespace ClientsContracts.ViewModels
|
|
{
|
|
public class ClientViewModel : IClientModel
|
|
{
|
|
public int Id { get; set; } = 0;
|
|
[DisplayName("ФИО")]
|
|
public string Name { get; set; } = string.Empty;
|
|
[DisplayName("Сумма покупок")]
|
|
public float? Amount { get; set; } = null;
|
|
[DisplayName("Отзывы")]
|
|
public string? Reviews { get; set; } = string.Empty;
|
|
public int StatusId { get; set; } = 0;
|
|
[DisplayName("Статус")]
|
|
public string StatusName { get; set; } = string.Empty;
|
|
public float ViewAmount { get; set; } = 0;
|
|
public string DocAmount { get; set; } = string.Empty;
|
|
}
|
|
} |