Files
DiunaBI/WebAPI/Models/User.cs

16 lines
367 B
C#
Raw Normal View History

2023-02-22 12:12:38 +01:00
using System.ComponentModel.DataAnnotations;
2024-06-18 19:40:16 +02:00
namespace WebAPI.Models;
public class User
2023-02-22 12:12:38 +01:00
{
2024-06-18 19:40:16 +02:00
#region Properties
[Key]
public Guid Id { get; init; }
[StringLength(50)]
public string? Email { get; init; }
[StringLength(50)]
public string? UserName { get; init; }
public DateTime CreatedAt { get; init; }
#endregion
}