generated from ricardo/MVCLogin
44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
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.UserPlan
|
|
{
|
|
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>();
|
|
}
|
|
}
|