classroom property
latefinal
Reference to the classroom for this specific timeslot.
Nullable because some timeslots may not have a classroom assigned. Different timeslots for the same course may reference different classrooms.
Implementation
@override
late final GeneratedColumn<int> classroom = GeneratedColumn<int>(
'classroom',
aliasedName,
true,
type: DriftSqlType.int,
requiredDuringInsert: false,
defaultConstraints: GeneratedColumn.constraintIsAlways(
'REFERENCES classrooms (id)',
),
);