using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SumaTube.Infra.MongoDB.Documents
{
    public class PersonUserDocument
    {
        [BsonId]
        [BsonRepresentation(BsonType.ObjectId)]
        public string Id { get; set; }

        public string Username { get; set; }

        public string FirstName { get; set; }

        public string LastName { get; set; }

        public string Email { get; set; }

        public DateTime LastChanged { get; set; }

        public bool IsActive { get; set; }

        public bool IsProfileCompleted { get; set; }

        public int CountryId { get; set; }

        public int BusinessAreaId { get; set; }

        public string DesiredName { get; set; }

        public DateTime CreatedAt { get; set; }

        public UserPaymentDocument CurrentPlan { get; set; }

        public List<UserPaymentDocument> PastPlans { get; set; } = new List<UserPaymentDocument>();
    }
}
