17 lines
372 B
C#
17 lines
372 B
C#
|
|
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
|
|||
|
|
}
|
|||
|
|
}
|