SUBD/Forum/ForumContracts/BindingModels/UserBindingModel.cs

25 lines
617 B
C#
Raw Normal View History

2023-04-28 19:36:06 +04:00
using ForumDataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ForumContracts.BindingModels
{
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);
2023-04-28 19:36:06 +04:00
public int Id { get; set; }
public int RoleId { get; set; }
2023-04-28 19:36:06 +04:00
}
}