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 UGQDatabase.Models; public class ReserveAccountGradeEntity { [BsonId] [BsonRepresentation(BsonType.ObjectId)] public string Id { get; set; } = null!; public string UserGuid { get; set; } = null!; [BsonRepresentation(BsonType.Int32)] public UgqGradeType BeforeGradeType { get; set; } = UgqGradeType.Amature; [BsonRepresentation(BsonType.Int32)] public UgqGradeType ReserveGradeType { get; set; } = UgqGradeType.Amature; [BsonRequired] public DateTime ReserveTime { get; set; } [BsonRequired] public DateTime UpdatedAt { get; set; } public bool IsCompleted { get; set; } }