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

19 lines
No EOL
654 B
C#

using System;
using MongoDB.Bson.Serialization.Attributes;
using Plugin.MongoLogs.Utils;
using Plugin.PlayerLogs.Messages.Inventory;
namespace Plugin.MongoLogs.Entities.Inventory
{
[EntityFor(typeof(LogInventoryItemUsedMessage))]
[CollectionName(CollectionNames.INVENTORY_ITEM_USED, DisplayCollectionNames.INVENTORY_ITEM_USED)]
public class InventoryItemUsedLogEntity : IPlayerLogEntity
{
public int ItemVnum { get; set; }
public long CharacterId { get; set; }
public string IpAddress { get; set; }
[BsonDateTimeOptions(Kind = DateTimeKind.Utc)]
public DateTime CreatedAt { get; set; }
}
}