23 lines
400 B
PHP
23 lines
400 B
PHP
<?php
|
|
|
|
namespace Modules\PMS\Models;
|
|
|
|
use App\Traits\CreatedUpdatedBy;
|
|
use App\Traits\StatusTrait;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Project extends Model
|
|
{
|
|
use StatusTrait, CreatedUpdatedBy;
|
|
|
|
protected $table = 'tbl_projects';
|
|
protected $guarded = [];
|
|
protected $appends = ['status_name'];
|
|
|
|
const CATEGORY = [
|
|
10 => 'Vue',
|
|
11 => 'Laravel',
|
|
];
|
|
|
|
}
|