Table of Contents

Class GuildLogEntity

Namespace
FishMMO.Database.Npgsql.Entities
Assembly
FishMMO-DB.dll

Database entity for one guild activity log row.

public class GuildLogEntity
Inheritance
GuildLogEntity
Inherited Members

Remarks

Append-only. Nothing updates a row once written, so the table carries no version column — the optimistic-concurrency machinery the rest of the schema uses exists to arbitrate competing writes to the same row, and there are none here.

Properties

ActorCharacterID

The character who performed the action, or zero.

public long ActorCharacterID { get; set; }

Property Value

long

Detail

Optional short detail, such as a rank name.

public string Detail { get; set; }

Property Value

string

EventType

The event kind, as GuildLogEventType.

public byte EventType { get; set; }

Property Value

byte

Guild

Navigation to the owning guild.

public GuildEntity Guild { get; set; }

Property Value

GuildEntity

GuildID

Foreign key to the guild.

public long GuildID { get; set; }

Property Value

long

ID

Primary key.

public long ID { get; set; }

Property Value

long

TargetCharacterID

The character the action was performed on, or zero.

public long TargetCharacterID { get; set; }

Property Value

long

TimeCreated

Row creation timestamp (UTC).

public DateTime TimeCreated { get; set; }

Property Value

DateTime