item = new NullItem(); $this->itemgroup = new NullAttributeValue(); $this->itemsegment = new NullAttributeValue(); $this->itemsection = new NullAttributeValue(); $this->itemtype = new NullAttributeValue(); $this->client = new NullClient(); $this->clientgroup = new NullAttributeValue(); $this->clientsegment = new NullAttributeValue(); $this->clientsection = new NullAttributeValue(); $this->clienttype = new NullAttributeValue(); $this->supplier = new NullSupplier(); $this->price = new FloatInt(); } /** * Get id. * * @return int Model id * * @since 1.0.0 */ public function getId() : int { return $this->id; } /** * {@inheritdoc} */ public function toArray() : array { return [ 'id' => $this->id, ]; } /** * {@inheritdoc} */ public function jsonSerialize() : mixed { return $this->toArray(); } }