JoinColumn class
Column configuration for junction table foreign keys
Constructors
- JoinColumn({required String name, String referencedColumn = 'id', bool nullable = false})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Column name in the junction table
final
- nullable → bool
-
Whether this column is nullable
final
- referencedColumn → String
-
Referenced column in the source entity (usually 'id')
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited