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

20 lines
No EOL
662 B
C#

using System;
using MongoDB.Bson.Serialization.Attributes;
using Plugin.MongoLogs.Utils;
using Plugin.PlayerLogs.Messages.Raid;
namespace Plugin.MongoLogs.Entities.Raid
{
[EntityFor(typeof(LogRaidWonMessage))]
[CollectionName(CollectionNames.RAID_ACTION_WON, DisplayCollectionNames.RAID_ACTION_WON)]
public class RaidWonLogEntity : IPlayerLogEntity
{
public string RaidId { get; set; }
public string RaidType { get; set; }
public long CharacterId { get; set; }
public string IpAddress { get; set; }
[BsonDateTimeOptions(Kind = DateTimeKind.Utc)]
public DateTime CreatedAt { get; set; }
}
}