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

20 lines
No EOL
648 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(LogShopClosedMessage))]
[CollectionName(CollectionNames.SHOP_CLOSED, DisplayCollectionNames.SHOP_CLOSED)]
public class ShopClosedLogEntity : IPlayerLogEntity
{
public Location Location { get; set; }
public long CharacterId { get; set; }
public string IpAddress { get; set; }
[BsonDateTimeOptions(Kind = DateTimeKind.Utc)]
public DateTime CreatedAt { get; set; }
}
}