초기커밋

This commit is contained in:
2025-05-01 07:20:41 +09:00
commit 98bb2e3c5c
2747 changed files with 646947 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
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 enum UGQAbortReason
{
None = 0,
Player = 1,
RevisionUpdated = 2,
Shutdown = 3,
}
public class QuestAbortedEntity
{
[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!;
[BsonRepresentation(BsonType.String)]
public UGQAbortReason Reason { get; set; } = UGQAbortReason.None;
[BsonRequired]
public DateTime CreatedAt { get; set; }
}