초기커밋
This commit is contained in:
26
UGQDatabase/Models/QuestCompletedEntity.cs
Normal file
26
UGQDatabase/Models/QuestCompletedEntity.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using MongoDB.Bson;
|
||||
|
||||
namespace UGQDatabase.Models;
|
||||
|
||||
public class QuestCompletedEntity
|
||||
{
|
||||
[BsonId]
|
||||
[BsonRepresentation(BsonType.ObjectId)]
|
||||
public string Id { get; set; } = null!;
|
||||
|
||||
public long QuestId { get; set; }
|
||||
public long Revision { get; set; }
|
||||
public string Author { get; set; } = null!;
|
||||
|
||||
public string UserGuid { get; set; } = null!;
|
||||
|
||||
[BsonRequired]
|
||||
public DateTime CreatedAt { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user