Files
2026-09-15 10:26:34 +08:00

140 lines
2.4 KiB
PHP

<?php
declare(strict_types=1);
namespace Stemcell\Customer\Model;
use Magento\Framework\Model\AbstractModel;
use Stemcell\Customer\Api\Data\AvatrInterface;
class Avatr extends AbstractModel implements AvatrInterface
{
/**
* @inheritDoc
*/
public function _construct()
{
$this->_init(\Stemcell\Customer\Model\ResourceModel\Avatr::class);
}
/**
* @inheritDoc
*/
public function getName()
{
return $this->getData(self::NAME);
}
/**
* @inheritDoc
*/
public function setName($name)
{
return $this->setData(self::NAME, $name);
}
/**
* @inheritDoc
*/
public function getTelephone()
{
return $this->getData(self::TELEPHONE);
}
/**
* @inheritDoc
*/
public function setTelephone($telephone)
{
return $this->setData(self::TELEPHONE, $telephone);
}
/**
* @inheritDoc
*/
public function getFavoriteVehicle()
{
return $this->getData(self::FAVORITE_VEHICLE);
}
/**
* @inheritDoc
*/
public function setFavoriteVehicle($favoriteVehicle)
{
return $this->setData(self::FAVORITE_VEHICLE, $favoriteVehicle);
}
/**
* @inheritDoc
*/
public function getProvinceId()
{
return $this->getData(self::PROVINCE_ID);
}
/**
* @inheritDoc
*/
public function setProvinceId($provinceId)
{
return $this->setData(self::PROVINCE_ID, $provinceId);
}
/**
* @inheritDoc
*/
public function getCityId()
{
return $this->getData(self::CITY_ID);
}
/**
* @inheritDoc
*/
public function setCityId($cityId)
{
return $this->setData(self::CITY_ID, $cityId);
}
/**
* @inheritDoc
*/
public function getIsSent()
{
return $this->getData(self::IS_SENT);
}
/**
* @inheritDoc
*/
public function setIsSent($isSent)
{
return $this->setData(self::IS_SENT, $isSent);
}
/**
* @inheritDoc
*/
public function getCreatedAt()
{
return $this->getData(self::CREATED_AT);
}
/**
* @inheritDoc
*/
public function getResponse()
{
return $this->getData(self::RESPONSE);
}
/**
* @inheritDoc
*/
public function setResponse(string $response)
{
return $this->setData(self::RESPONSE, $response);
}
}