| Current Path : /var/www/html/drsa/backend/modules/appCompetency/models/ |
| Current File : /var/www/html/drsa/backend/modules/appCompetency/models/ModuleAppCompetency.php |
<?php
namespace backend\modules\appCompetency\models;
use Yii;
/**
* This is the model class for table "module_app_competency".
*
* @property int $id
* @property string $title
* @property string $description
* @property string $location
* @property string $start
* @property string $end
* @property string $created_at
* @property string $created_by
* @property string $updated_at
* @property string $updated_by
*/
class ModuleAppCompetency extends \yii\db\ActiveRecord {
/**
* {@inheritdoc}
*/
public static function tableName() {
return 'module_app_competency';
}
/**
* {@inheritdoc}
*/
public function rules() {
return [
[['title', 'location', 'start', 'end', 'description', 'category', 'level'], 'required'],
[['created_at', 'updated_at', 'created_by', 'updated_by', 'tags', 'image'], 'safe'],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels() {
return [
'id' => 'ID',
'title' => 'Title',
'description' => 'Description',
'location' => 'Location',
'start' => 'Start Date',
'end' => 'End Date',
'created_at' => 'Created At',
'created_by' => 'Created By',
'updated_at' => 'Updated At',
'updated_by' => 'Updated By',
'tags' => 'Tags',
'image' => 'Image',
'category' => 'Category',
'level' => 'Level',
];
}
}