server-master/srcs/_plugins/Plugin.MongoLogs/Entities/Bazaar/BazaarItemWithdrawnLogEntity.cs
2026-02-10 18:21:30 +01:00

24 lines
No EOL
875 B
C#

using System;
using MongoDB.Bson.Serialization.Attributes;
using Plugin.MongoLogs.Utils;
using Plugin.PlayerLogs.Messages.Bazaar;
using WingsEmu.DTOs.Items;
namespace Plugin.MongoLogs.Entities.Bazaar
{
[EntityFor(typeof(LogBazaarItemWithdrawnMessage))]
[CollectionName(CollectionNames.BAZAAR_ITEM_WITHDRAWN, DisplayCollectionNames.BAZAAR_ITEM_WITHDRAWN)]
public class BazaarItemWithdrawnLogEntity : IPlayerLogEntity
{
public long BazaarItemId { get; set; }
public long Price { get; set; }
public int Quantity { get; set; }
public ItemInstanceDTO ItemInstance { get; set; }
public long ClaimedMoney { get; set; }
public long CharacterId { get; set; }
public string IpAddress { get; set; }
[BsonDateTimeOptions(Kind = DateTimeKind.Utc)]
public DateTime CreatedAt { get; set; }
}
}