mirror of
https://github.com/Karaka-Management/oms-Attribute.git
synced 2026-02-18 10:28:42 +00:00
Quick backup before crash
This commit is contained in:
parent
8d40af4972
commit
ce915f69fa
|
|
@ -67,6 +67,13 @@ class Attribute implements \JsonSerializable
|
|||
$this->value = new NullAttributeValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Deep clone the attribute element
|
||||
*
|
||||
* @return self
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function deepClone() : self
|
||||
{
|
||||
$clone = clone $this;
|
||||
|
|
|
|||
|
|
@ -38,10 +38,28 @@ class AttributeView extends View
|
|||
*/
|
||||
public array $attributes = [];
|
||||
|
||||
/**
|
||||
* Attribute types
|
||||
*
|
||||
* @var \Modules\Attribute\Models\AttributeType[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public array $attributeTypes = [];
|
||||
|
||||
/**
|
||||
* Units
|
||||
*
|
||||
* @var \Modules\Organization\Models\Unit[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public array $units = [];
|
||||
|
||||
/**
|
||||
* API Uri for attribute actions
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public string $apiUri = '';
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user