Large commit

This commit is contained in:
omair saleh
2021-08-16 08:59:26 +08:00
parent e2874f7199
commit d8c767c670
260 changed files with 4657 additions and 2960 deletions
@@ -0,0 +1,93 @@
<?php
namespace App\Classes\Modules\PackingLists\DataTransferObjects;
use App\Classes\General\Interfaces\DataTransferObject;
class PackageObject implements DataTransferObject
{
private $orderId;
private $claimantId;
private $type;
private $description;
private $width;
private $height;
private $length;
private $weight;
private $quantity;
private $status;
public function __construct(int $orderId, ?int $claimantId, int $type, ?string $description, float $width, float $height, float $length, float $weight, int $quantity, int $status)
{
$this->orderId = $orderId;
$this->claimantId = $claimantId;
$this->type = $type;
$this->description = $description;
$this->width = $width;
$this->height = $height;
$this->length = $length;
$this->weight = $weight;
$this->quantity = $quantity;
$this->status = $status;
}
public function getOrderId(): int
{
return $this->orderId;
}
public function getClaimantId(): ?int
{
return $this->claimantId;
}
public function getType(): int
{
return $this->type;
}
public function getDescription(): ?string
{
return $this->description;
}
public function getWidth(): float
{
return $this->width;
}
public function getHeight(): float
{
return $this->height;
}
public function getLength(): float
{
return $this->length;
}
public function getWeight(): float
{
return $this->weight;
}
public function getQuantity(): int
{
return $this->quantity;
}
public function getStatus(): int
{
return $this->status;
}
}