using System.ComponentModel.DataAnnotations.Schema;

namespace EnotaryoPH.Data.Entities
{
    [Table("Users")]
    public class User
    {
        [Column("UserID")]
        public int UserID { get; set; }

        [Column("Email")]
        public string Email { get; set; }

        [Column("PasswordHash")]
        public string PasswordHash { get; set; }

        [Column("PhoneNumber")]
        public string? PhoneNumber { get; set; }

        [Column("Firstname")]
        public string? Firstname { get; set; }

        [Column("Lastname")]
        public string? Lastname { get; set; }

        [Column("CreatedOn")]
        public DateTime? CreatedOn { get; set; }

        [Column("User_UID")]
        public Guid? User_UID { get; set; }

        [Column("Role")]
        public string? Role { get; set; }

        [Column("BirthDate")]
        public DateTime BirthDate { get; set; }

        [Column("Middlename")]
        public string? Middlename { get; set; }

        [Column("Suffix")]
        public string? Suffix { get; set; }

        [Column("Prefix")]
        public string? Prefix { get; set; }

        public List<EventLog> EventLogs { get; set; }

        public List<IdentificationDocument> IdentificationDocuments { get; set; }

        public List<LawyerVideoConferenceParticipant> LawyerVideoConferenceParticipants { get; set; }
    }
}