nexusforever/Source/NexusForever.Database.Character/Model/GuildModel.cs
Rawaho 23b6434ead Initial implementation of community plots.
Reworked residence management.
Moved shared guild chat channel functionality to a seperate abstract class.
Decor can be added to your residence without being on it.
Guild operation data has been moved to a union to support multiple data types.
Fixed privacy levels for residences.
Deleting a character will now remove the residence.
Various other things I would have forgotten.
2021-09-04 23:40:06 +12:00

24 lines
1 KiB
C#

using System;
using System.Collections.Generic;
namespace NexusForever.Database.Character.Model
{
public class GuildModel
{
public ulong Id { get; set; }
public uint Flags { get; set; }
public byte Type { get; set; }
public string Name { get; set; }
public ulong? LeaderId { get; set; }
public DateTime CreateTime { get; set; }
public DateTime? DeleteTime { get; set; }
public string OriginalName { get; set; }
public ulong? OriginalLeaderId { get; set; }
public GuildDataModel GuildData { get; set; }
public ICollection<GuildRankModel> GuildRank { get; set; } = new HashSet<GuildRankModel>();
public ICollection<GuildMemberModel> GuildMember { get; set; } = new HashSet<GuildMemberModel>();
public ICollection<GuildAchievementModel> Achievement { get; set; } = new HashSet<GuildAchievementModel>();
public ICollection<ResidenceModel> Residence { get; set; } = new HashSet<ResidenceModel>();
}
}