Represents a fencing day event within the system.

This interface defines the structure for a fencing day event, including its date, location, associated corps, official status, and additional related metadata. It also includes information about matches conducted during the event.

Day extends the MongoEntity to ensure compatibility with the database schema.

Properties:

interface Day {
    _id?: string;
    corpsId: string;
    createdAt: DateTime;
    date: DateTime;
    deleted: boolean;
    description: string;
    location: string;
    matches: {
        corpsId: string;
        doctorId: string;
        notes: string;
        partyALevel: number;
        partyBLevel: number;
    };
    official: boolean;
    semesterId: string;
    updatedAt: DateTime;
}

Hierarchy (View Summary)

Properties

_id?: string
corpsId: string

The unique identifier associated with the fencing day's corps.

createdAt: DateTime
date: DateTime

The date of the fencing day.

deleted: boolean
description: string

A brief description or additional information about the fencing day.

location: string

The location of the fencing day.

matches: {
    corpsId: string;
    doctorId: string;
    notes: string;
    partyALevel: number;
    partyBLevel: number;
}

A list of matches conducted during the fencing day.

official: boolean

Indicates whether the fencing day is official.

semesterId: string

The unique identifier associated with the fencing day's semester.

updatedAt: DateTime