BaseOasisModel class abstract
Provides a foundational structure for all entities/models in the Oasis ORM.
This class encapsulates common attributes like ID and timestamps. Entities in the system should extend this class to inherit these properties.
Constructors
- BaseOasisModel({int? id, DateTime? createdAt, DateTime? updatedAt})
- Default constructor for BaseOasisModel.
Properties
- createdAt ↔ DateTime?
-
The timestamp indicating when the entity was created.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
The unique identifier for the entity.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt ↔ DateTime?
-
The timestamp indicating the last time the entity was updated.
getter/setter pair
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