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