23 lines
No EOL
864 B
C#
23 lines
No EOL
864 B
C#
using System;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
using Plugin.MongoLogs.Utils;
|
|
using Plugin.PlayerLogs.Messages.Family;
|
|
using WingsEmu.DTOs.Items;
|
|
|
|
namespace Plugin.MongoLogs.Entities.Family
|
|
{
|
|
[EntityFor(typeof(LogFamilyWarehouseItemWithdrawnMessage))]
|
|
[CollectionName(CollectionNames.FAMILY_WAREHOUSE_ITEM_WITHDRAWN, DisplayCollectionNames.FAMILY_WAREHOUSE_ITEM_WITHDRAWN)]
|
|
public class FamilyWarehouseItemWithdrawnLogEntity : IPlayerLogEntity
|
|
{
|
|
public long FamilyId { get; set; }
|
|
public ItemInstanceDTO ItemInstance { get; set; }
|
|
public int Amount { get; set; }
|
|
public short FromSlot { get; set; }
|
|
public long CharacterId { get; set; }
|
|
public string IpAddress { get; set; }
|
|
|
|
[BsonDateTimeOptions(Kind = DateTimeKind.Utc)]
|
|
public DateTime CreatedAt { get; set; }
|
|
}
|
|
} |