Table of Contents

Class GuildApplicationEntity

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

Database entity for one pending application to join a guild.

public class GuildApplicationEntity
Inheritance
GuildApplicationEntity
Inherited Members

Remarks

Pending rows only — see GuildApplicationData. The unique index on (guild_id, character_id) is what enforces "one pending application per guild per player" at the storage layer rather than in application code, so two applications racing on two scene servers cannot both land.

Properties

Character

Navigation to the applying character.

public CharacterEntity Character { get; set; }

Property Value

CharacterEntity

CharacterID

The applying character.

public long CharacterID { get; set; }

Property Value

long

Guild

Navigation to the guild applied to.

public GuildEntity Guild { get; set; }

Property Value

GuildEntity

GuildID

Foreign key to the guild applied to.

public long GuildID { get; set; }

Property Value

long

ID

Primary key.

public long ID { get; set; }

Property Value

long

Message

The applicant's message. May be empty.

public string Message { get; set; }

Property Value

string

TimeCreated

Row creation timestamp (UTC).

public DateTime TimeCreated { get; set; }

Property Value

DateTime