Coursework_ComputerStore_Li.../ComputerStoreContracts/ViewModels/SellerViewModel.cs

27 lines
847 B
C#

using ComputerStoreDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerStoreContracts.ViewModels
{
public class SellerViewModel : ISellerModel
{
[DisplayName("Seller ID")]
public int ID { get; set; }
[DisplayName("Username")]
public string Username { get; set; } = string.Empty;
[DisplayName("Password")]
public string Password { get; set; } = string.Empty;
[DisplayName("FirstName")]
public string FirstName { get; set; } = string.Empty;
[DisplayName("LastName")]
public string LastName { get; set; } = string.Empty;
[DisplayName("MiddleName")]
public string MiddleName { get; set; } = string.Empty;
}
}