28 lines
785 B
C#
28 lines
785 B
C#
using DressAtelierContracts.Attributes;
|
|
using DressAtelierDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DressAtelierContracts.ViewModels
|
|
{
|
|
public class ClientViewModel : IClientModel
|
|
{
|
|
[Column(visible: false)]
|
|
public int ID { get; set; }
|
|
|
|
[Column(title: "Client's full name", width: 150)]
|
|
public string FullName { get; set; } = string.Empty;
|
|
|
|
[Column(title: "Login", gridViewAutoSize: GridViewAutoSize.Fill,isUseAutoSize: true)]
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
[Column(title:"Password", width: 150)]
|
|
public string Password { get; set; } = string.Empty;
|
|
|
|
}
|
|
}
|