init
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Esun\CustomerVat\Model;
|
||||
|
||||
use Magento\Framework\Model\AbstractModel;
|
||||
|
||||
class VatApplication extends AbstractModel
|
||||
{
|
||||
public const STATUS_PENDING = 'pending';
|
||||
public const STATUS_APPROVED = 'approved';
|
||||
public const STATUS_REJECTED = 'rejected';
|
||||
|
||||
protected function _construct(): void
|
||||
{
|
||||
$this->_init(\Esun\CustomerVat\Model\ResourceModel\VatApplication::class);
|
||||
}
|
||||
|
||||
public static function getStatuses(): array
|
||||
{
|
||||
return [
|
||||
self::STATUS_PENDING => __('Pending Review'),
|
||||
self::STATUS_APPROVED => __('Approved'),
|
||||
self::STATUS_REJECTED => __('Rejected'),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user