Update project structure
This commit is contained in:
16
WebAPI/Models/User.cs
Normal file
16
WebAPI/Models/User.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WebAPI.Models
|
||||
{
|
||||
public class User
|
||||
{
|
||||
#region Properties
|
||||
[Key]
|
||||
public Guid Id { get; set; }
|
||||
public string? Email { get; set; }
|
||||
[StringLength(50)]
|
||||
public string? UserName { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user