17 lines
388 B
C#
17 lines
388 B
C#
|
|
using System;
|
|||
|
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
|
|||
|
|
namespace DiunaBI.Core.Models;
|
|||
|
|
|
|||
|
|
public class User
|
|||
|
|
{
|
|||
|
|
#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
|
|||
|
|
}
|