27 lines
597 B
C#
27 lines
597 B
C#
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; }
|
|
}
|
|
|