| Current Path : /var/www/html/jppmintranetv2/frontend/models/ |
| Current File : /var/www/html/jppmintranetv2/frontend/models/Elog.php |
<?php
namespace frontend\models;
use Yii;
/**
* This is the model class for table "elog".
*
* @property int $id
* @property string|null $slug
* @property int|null $parent_id
* @property string|null $type
* @property string|null $name
* @property string|null $file_url
* @property string|null $format
* @property string|null $status
* @property string|null $dept
* @property int|null $created_by
* @property string|null $created_at
*/
class Elog extends \yii\db\ActiveRecord {
/**
* {@inheritdoc}
*/
public static function tableName() {
return 'elog';
}
/**
* {@inheritdoc}
*/
public function rules() {
return [
[['slug', 'type', 'name', 'file_url', 'format', 'status', 'dept', 'created_at', 'parent_id', 'created_by'], 'safe'],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels() {
return [
'id' => 'ID',
'slug' => 'Slug',
'parent_id' => 'Parent ID',
'type' => 'Type',
'name' => 'Name',
'file_url' => 'File Url',
'format' => 'Format',
'status' => 'Status',
'dept' => 'Dept',
'created_by' => 'Created By',
'created_at' => 'Created At',
];
}
}