using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.IdGenerators;

namespace Campofinale.Game.Gacha
{
    public class GachaTransaction
    {
        [BsonId(IdGenerator = typeof(ObjectIdGenerator))]
        public ObjectId _id { get; set; }
        public ulong ownerId;
        public long transactionTime;
        public string itemId;
        public string gachaTemplateId;
        public int rarity;
        public bool hasLost = false;
    }
}
