mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 17:19:00 +03:00
Octol1ttle
84e730838b
*I'll start working on features and bugfixes after this PR, I promise* very short summary: - no more braceless statements - braces are on new lines now - `sealed` on everything that can be `sealed` - no more awkwardly looking alignment of fields/parameters - no more `Service` suffix on service fields. yeah. - no more `else`s. who needs them? - code style is now enforced by CI --------- Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
18 lines
447 B
C#
18 lines
447 B
C#
namespace Boyfriend.Data;
|
|
|
|
/// <summary>
|
|
/// Stores information about a member
|
|
/// </summary>
|
|
public sealed class MemberData
|
|
{
|
|
public MemberData(ulong id, DateTimeOffset? bannedUntil)
|
|
{
|
|
Id = id;
|
|
BannedUntil = bannedUntil;
|
|
}
|
|
|
|
public ulong Id { get; }
|
|
public DateTimeOffset? BannedUntil { get; set; }
|
|
public List<ulong> Roles { get; set; } = new();
|
|
public List<Reminder> Reminders { get; } = new();
|
|
}
|