<?php
/**
* Landofcoder
*
* NOTICE OF LICENSE
*
* This source file is subject to the Landofcoder.com license that is
* available through the world-wide-web at this URL:
* https://landofcoder.com/license
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Landofcoder
* @package Lof_HelpDesk
* @copyright Copyright (c) 2017 Landofcoder (https://landofcoder.com/)
* @license https://landofcoder.com/LICENSE-1.0.html
*/
namespace Lof\HelpDesk\Model;
/**
* CMS block model
*
* @method \Magento\Cms\Model\ResourceModel\Block _getResource()
* @method \Magento\Cms\Model\ResourceModel\Block getResource()
*/
class Department extends \Magento\Framework\Model\AbstractModel
{
const STATUS_ENABLED = 1;
const STATUS_DISABLED = 0;
protected function _construct()
{
$this->_init('Lof\HelpDesk\Model\ResourceModel\Department');
}
public function getAvailableStatuses()
{
return [self::STATUS_ENABLED => __('Enabled'), self::STATUS_DISABLED => __('Disabled')];
}
}
|