StockReconciliationModel constructor

StockReconciliationModel({
  1. StockReconciliationAdditionalFields? additionalFields,
  2. String? id,
  3. String? tenantId,
  4. String? facilityId,
  5. String? productVariantId,
  6. String? referenceId,
  7. String? referenceIdType,
  8. int? physicalCount,
  9. int? calculatedCount,
  10. String? commentsOnReconciliation,
  11. bool? nonRecoverableError = false,
  12. required String clientReferenceId,
  13. int? rowVersion,
  14. required int dateOfReconciliation,
  15. AuditDetails? auditDetails,
  16. ClientAuditDetails? clientAuditDetails,
  17. bool? isDeleted = false,
})

Implementation

StockReconciliationModel({
  this.additionalFields,
  this.id,
  this.tenantId,
  this.facilityId,
  this.productVariantId,
  this.referenceId,
  this.referenceIdType,
  this.physicalCount,
  this.calculatedCount,
  this.commentsOnReconciliation,
  this.nonRecoverableError = false,
  required this.clientReferenceId,
  this.rowVersion,
  required int dateOfReconciliation,
  super.auditDetails,
  super.clientAuditDetails,
  super.isDeleted = false,
})  : dateOfReconciliationTime =
          DateTime.fromMillisecondsSinceEpoch(dateOfReconciliation),
      super();