Table of Contents

Class UserNoticeTeamDefaultEntity

Namespace
Tharga.Team.MongoDB
Assembly
Tharga.Team.MongoDB.dll

A team's default for one notice, each part stored only where it differs from the catalogue's.

public record UserNoticeTeamDefaultEntity : EntityBase, ISupportInitialize, IEquatable<PersistableEntityBase>, IEntity<ObjectId>, IEquatable<EntityBase<ObjectId>>, IEquatable<EntityBase>, IEquatable<UserNoticeTeamDefaultEntity>
Inheritance
PersistableEntityBase
EntityBase<ObjectId>
EntityBase
UserNoticeTeamDefaultEntity
Implements
IEquatable<PersistableEntityBase>
IEntity<ObjectId>
IEquatable<EntityBase<ObjectId>>
IEquatable<EntityBase>
Inherited Members
EntityBase.ToString()
EntityBase.GetHashCode()
EntityBase.Equals(EntityBase<ObjectId>)
EntityBase.Equals(EntityBase)
EntityBase.<Clone>$()
EntityBase.EqualityContract
EntityBase<ObjectId>.Equals(PersistableEntityBase)
EntityBase<ObjectId>.Id
PersistableEntityBase.NeedsCleaning()
PersistableEntityBase.BeginInit()
PersistableEntityBase.EndInit()
PersistableEntityBase.CatchAll

Properties

Delivery

How members receive it, stored by name, or null to follow the catalogue.

[BsonIgnoreIfNull]
[BsonRepresentation(BsonType.String)]
public UserNoticeDelivery? Delivery { get; init; }

Property Value

UserNoticeDelivery?

Enabled

Whether members receive the notice, or null to follow the catalogue.

[BsonIgnoreIfNull]
public bool? Enabled { get; init; }

Property Value

bool?

NoticeKey

The notice's key.

public required string NoticeKey { get; init; }

Property Value

string

TeamKey

The team's key.

public required string TeamKey { get; init; }

Property Value

string

UpdatedAt

When the default was last set, in UTC.

public DateTime UpdatedAt { get; init; }

Property Value

DateTime