mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-21 13:34:08 +00:00
General fixes to table design, added state and district seeder for china, made changes to create order process, and ui and vue js components changes for registration, dashboard and registration
This commit is contained in:
@@ -6,14 +6,12 @@ use App\Classes\General\Interfaces\DataTransferObject;
|
||||
|
||||
class CompanyModuleObject implements DataTransferObject
|
||||
{
|
||||
/** @var int */
|
||||
private $companyId;
|
||||
|
||||
/** @var int|null */
|
||||
private $type;
|
||||
/** @var string */
|
||||
private $name;
|
||||
|
||||
/** @var int|null */
|
||||
private $status;
|
||||
/** @var string */
|
||||
private $reference;
|
||||
|
||||
/** @var string */
|
||||
private $unity_hash_id;
|
||||
@@ -21,27 +19,61 @@ class CompanyModuleObject implements DataTransferObject
|
||||
/** @var string */
|
||||
private $unity_signature;
|
||||
|
||||
/** @var int */
|
||||
private $type;
|
||||
|
||||
/** @var int */
|
||||
private $status;
|
||||
|
||||
/**
|
||||
* CompanyObject constructor.
|
||||
* @param int $companyId
|
||||
* @param int|null $type
|
||||
* @param int|null $status
|
||||
* CompanyModuleObject constructor.
|
||||
* @param string $name
|
||||
* @param string $reference
|
||||
* @param string $unity_hash_id
|
||||
* @param string $unity_signature
|
||||
* @param int $type
|
||||
* @param int $status
|
||||
*/
|
||||
public function __construct(int $companyId, int $type, int $status, ?string $unity_hash_id, ?string $unity_signature)
|
||||
public function __construct(string $name, string $reference, string $unity_hash_id, string $unity_signature, int $type, int $status)
|
||||
{
|
||||
$this->companyId = $companyId;
|
||||
$this->type = $type;
|
||||
$this->status = $status;
|
||||
$this->name = $name;
|
||||
$this->reference = $reference;
|
||||
$this->unity_hash_id = $unity_hash_id;
|
||||
$this->unity_signature = $unity_signature;
|
||||
$this->type = $type;
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
* @return string
|
||||
*/
|
||||
public function getCompanyId(): int
|
||||
public function getName(): string
|
||||
{
|
||||
return $this->companyId;
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getReference(): string
|
||||
{
|
||||
return $this->reference;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUnityHashId(): string
|
||||
{
|
||||
return $this->unity_hash_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUnitySignature(): string
|
||||
{
|
||||
return $this->unity_signature;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -60,19 +92,5 @@ class CompanyModuleObject implements DataTransferObject
|
||||
return $this->status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUnityHashId(): string
|
||||
{
|
||||
return $this->unity_hash_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUnitySignature(): string
|
||||
{
|
||||
return $this->unity_signature;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user