mirror of
https://github.com/thebreaddev/Supercell.GUT.git
synced 2024-11-10 07:44:37 +00:00
281d2789ea
not finished. early wip state
13 lines
322 B
C#
13 lines
322 B
C#
using System.Text.Json.Serialization;
|
|
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace Supercell.GUT.Server.Database.Document;
|
|
|
|
public abstract class MongoSerializeableBase
|
|
{
|
|
[BsonId]
|
|
[BsonRepresentation(BsonType.ObjectId)]
|
|
[JsonIgnore]
|
|
public string? MongoId { get; set; }
|
|
}
|