PIbd-22-Ismailov_SUBD/BlogDataModels/BlogContracts/BindingModel/UserBindingModel.cs

25 lines
615 B
C#
Raw Normal View History

2023-09-06 22:02:39 +04:00
using BlogDataModels;
2023-09-06 20:46:57 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2023-09-06 22:02:39 +04:00
namespace BlogContracts.BindingModels
2023-09-06 20:46:57 +04:00
{
public class UserBindingModel : IUserModel
{
public string Username { get; set; } = string.Empty;
public string Email { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
public DateTime RegistrationDate { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
public int Id { get; set; }
public int RoleId { get; set; }
}
}