StockDTO class

Inheritance

Constructors

StockDTO({String? id, String? createdAt, String? updatedAt, bool? isActive, bool? isDeleted, String? stockType, String? type, String? status, bool? include, String? note, String? sku, int? quantity, String? startDate, String? endDate, String? purchaseDate, int? purchasePrice, String? purchaseCurrency, String? transactionDate, String? storeId, String? productId, String? warehouseId, String? transferId, String? supplierId, String? inStockId, String? productName, String? productBarcode, String? productSlug, String? warehouseName, String? supplierName, ProductDTO? product, SupplierDTO? supplier, WarehouseDTO? warehouse})
StockDTO.fromJson(Map<String, dynamic> json)

Properties

createdAt String?
The time when the DTO was created.
getter/setter pairinherited
endDate String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The ID of the DTO.
getter/setter pairinherited
include bool?
getter/setter pair
inStockId String?
getter/setter pair
isActive bool?
Whether the DTO is active.
getter/setter pairinherited
isDeleted bool?
Whether the DTO has been deleted.
getter/setter pairinherited
note String?
getter/setter pair
product ProductDTO?
getter/setter pair
productBarcode String?
getter/setter pair
productId String?
getter/setter pair
productName String?
getter/setter pair
productSlug String?
getter/setter pair
purchaseCurrency String?
getter/setter pair
purchaseDate String?
getter/setter pair
purchasePrice int?
getter/setter pair
quantity int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sku String?
getter/setter pair
startDate String?
getter/setter pair
status String?
getter/setter pair
stockType String?
getter/setter pair
storeId String?
getter/setter pair
supplier SupplierDTO?
getter/setter pair
supplierId String?
getter/setter pair
supplierName String?
getter/setter pair
transactionDate String?
getter/setter pair
transferId String?
getter/setter pair
type String?
getter/setter pair
updatedAt String?
The time when the DTO was last updated.
getter/setter pairinherited
warehouse WarehouseDTO?
getter/setter pair
warehouseId String?
getter/setter pair
warehouseName String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the BaseDTO to a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited