using System.ComponentModel.DataAnnotations; namespace AipsCore.Infrastructure.Persistence.User; public class User { [Key] public Guid Id { get; set; } [Required] [MaxLength(255)] public string Username { get; set; } = null!; [Required] [MaxLength(255)] public string Email { get; set; } = null!; public DateTime CreatedAt { get; set; } public DateTime? DeletedAt { get; set; } public ICollection Shapes { get; set; } = new List(); public ICollection Whiteboards { get; set; } = new List(); public ICollection Memberships { get; set; } = new List(); }