AccountCurrencyModel class
- Inheritance
- Annotations
-
- @Entity.new(tableName: 'account_currency', primaryKeys: ['branch_id', 'account_id', 'currency_id'], foreignKeys: [ForeignKey(childColumns: ['branch_id'], parentColumns: ['id'], entity: BranchModel), ForeignKey(childColumns: ['account_id'], parentColumns: ['id'], entity: AccountModel), ForeignKey(childColumns: ['currency_id'], parentColumns: ['id'], entity: CurrencyModel)])
Constructors
- AccountCurrencyModel({int branchId = 0, required int accountId, required int currencyId, required double price, bool status = true})
-
AccountCurrencyModel.fromMap(Map<
String, dynamic> map)
Properties
- accountId → int
-
final
- branchId → int
-
final
- createAt → DateTime
-
final
- currencyId → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- price → double
-
final
-
props
→ List<
Object?> -
primary key
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId → int
-
final
- status → bool
-
final
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited - userId → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- accountIdTag → const String
- branchIdTag → const String
- createAtTag → const String
- currencyIdTag → const String
- priceTag → const String
- sessionIdTag → const String
- statusTag → const String
- userIdTag → const String