24 lines
No EOL
864 B
C#
24 lines
No EOL
864 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(LogBazaarItemInsertedMessage))]
|
|
[CollectionName(CollectionNames.BAZAAR_ITEM_INSERTED, DisplayCollectionNames.BAZAAR_ITEM_INSERTED)]
|
|
public class BazaarItemInsertedLogEntity : IPlayerLogEntity
|
|
{
|
|
public long BazaarItemId { get; set; }
|
|
public long Price { get; set; }
|
|
public int Quantity { get; set; }
|
|
public long Taxes { get; set; }
|
|
public ItemInstanceDTO ItemInstance { get; set; }
|
|
public long CharacterId { get; set; }
|
|
public string IpAddress { get; set; }
|
|
|
|
[BsonDateTimeOptions(Kind = DateTimeKind.Utc)]
|
|
public DateTime CreatedAt { get; set; }
|
|
}
|
|
} |