20 lines
No EOL
648 B
C#
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; }
|
|
}
|
|
} |