초기커밋
This commit is contained in:
31
UGQDatabase/Models/ReserveAccountGradeEntity.cs
Normal file
31
UGQDatabase/Models/ReserveAccountGradeEntity.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user