StockModel constructor
StockModel({
- int? dateOfEntry,
- StockAdditionalFields? additionalFields,
- String? id,
- String? tenantId,
- String? facilityId,
- String? productVariantId,
- String? referenceId,
- String? referenceIdType,
- String? transactingPartyId,
- String? transactingPartyType,
- String? quantity,
- String? wayBillNumber,
- String? receiverId,
- String? receiverType,
- String? senderId,
- String? senderType,
- bool? nonRecoverableError = false,
- required String clientReferenceId,
- int? rowVersion,
- String? transactionType,
- String? transactionReason,
- AuditDetails? auditDetails,
- ClientAuditDetails? clientAuditDetails,
- bool? isDeleted = false,
Implementation
StockModel({
int? dateOfEntry,
this.additionalFields,
this.id,
this.tenantId,
this.facilityId,
this.productVariantId,
this.referenceId,
this.referenceIdType,
this.transactingPartyId,
this.transactingPartyType,
this.quantity,
this.wayBillNumber,
this.receiverId,
this.receiverType,
this.senderId,
this.senderType,
this.nonRecoverableError = false,
required this.clientReferenceId,
this.rowVersion,
this.transactionType,
this.transactionReason,
super.auditDetails,
super.clientAuditDetails,
super.isDeleted = false,
}) : dateOfEntryTime = dateOfEntry == null
? null
: DateTime.fromMillisecondsSinceEpoch(dateOfEntry),
super();