CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/BindingModels/UserBindingModel.cs

33 lines
829 B
C#

using ElectronicsShopDataModels;
using ElectronicsShopDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicsShopContracts.BindingModels
{
public class UserBindingModel : IUserModel
{
//ID пользователя
public int ID { get; set; }
//ID роли (клиент)
public int RoleID { get; set; }
public string FirstName { get; set; } = string.Empty;
public string LastName { get; set; } = string.Empty;
public string Login { get; set; } = string.Empty;
public string Email { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
public string PhoneNumber { get; set; } = string.Empty;
}
}