Files
2026-09-15 10:35:56 +08:00

28 lines
665 B
PHP

<?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'),
];
}
}