초기커밋

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,40 @@
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson;
namespace UGQDatabase.Models;
public enum CreatorPointHistoryKind
{
None = 0,
QuestProfit = 1,
SettleUp = 2,
Admin = 3,
}
public class CreatorPointHistoryEntity
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; } = null!;
public string UserGuid { get; set; } = null!;
public long QuestId { get; set; }
public long Revision { get; set; }
[BsonRepresentation(BsonType.String)]
public CreatorPointHistoryKind Kind { get; set; }
public string DetailReason { get; set; } = null!;
public double Amount { get; set; }
public double TotalAmount { get; set; }
[BsonRequired]
public DateTime CreatedAt { get; set; }
}