init
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Esun\ProductInquiry\Model;
|
||||
|
||||
use Magento\Framework\Model\AbstractModel;
|
||||
|
||||
class Inquiry extends AbstractModel
|
||||
{
|
||||
public const STATUS_NEW = 'new';
|
||||
public const STATUS_PROCESSING = 'processing';
|
||||
public const STATUS_RESOLVED = 'resolved';
|
||||
|
||||
protected function _construct(): void
|
||||
{
|
||||
$this->_init(\Esun\ProductInquiry\Model\ResourceModel\Inquiry::class);
|
||||
}
|
||||
|
||||
public static function getStatuses(): array
|
||||
{
|
||||
return [
|
||||
self::STATUS_NEW => __('New'),
|
||||
self::STATUS_PROCESSING => __('Processing'),
|
||||
self::STATUS_RESOLVED => __('Resolved'),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user