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

21 lines
No EOL
693 B
C#

using System;
using MongoDB.Bson.Serialization.Attributes;
using Plugin.MongoLogs.Utils;
using Plugin.PlayerLogs.Messages.Shop;
using WingsEmu.Game.Helpers;
namespace Plugin.MongoLogs.Entities.Shop
{
[EntityFor(typeof(LogShopOpenedMessage))]
[CollectionName(CollectionNames.SHOP_OPENED, DisplayCollectionNames.SHOP_OPENED)]
public class ShopOpenedLogEntity : IPlayerLogEntity
{
public string ShopName { get; set; }
public Location Location { get; set; }
public long CharacterId { get; set; }
public string IpAddress { get; set; }
[BsonDateTimeOptions(Kind = DateTimeKind.Utc)]
public DateTime CreatedAt { get; set; }
}
}