61 lines
1.1 KiB
PHP
Executable File
61 lines
1.1 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\TestModuleMysqlMq\Model;
|
|
|
|
class DataObject extends \Magento\Framework\Api\AbstractExtensibleObject
|
|
{
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getName()
|
|
{
|
|
return $this->_get('name');
|
|
}
|
|
|
|
/**
|
|
* @param string $name
|
|
* @return $this
|
|
*/
|
|
public function setName($name)
|
|
{
|
|
return $this->setData('name', $name);
|
|
}
|
|
|
|
/**
|
|
* @return int|null
|
|
*/
|
|
public function getEntityId()
|
|
{
|
|
return $this->_get('entity_id');
|
|
}
|
|
|
|
/**
|
|
* @param int $entityId
|
|
* @return $this
|
|
*/
|
|
public function setEntityId($entityId)
|
|
{
|
|
return $this->setData('entity_id', $entityId);
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getOutputPath()
|
|
{
|
|
return $this->_get('outputPath');
|
|
}
|
|
|
|
/**
|
|
* @param string $path
|
|
* @return $this
|
|
*/
|
|
public function setOutputPath($path)
|
|
{
|
|
return $this->setData('outputPath', $path);
|
|
}
|
|
}
|