Entity class
Associates a class with a database table.
Datapod will generate a ManagedEntity wrapper for classes annotated with
this, enabling automated state tracking for persistence.
Example:
@Entity(tableName: 'users_table')
class User {
@Id()
int? id;
@Column()
late String name;
}
- Annotations
-
- @Target.new({TargetKind.classType})
Properties
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