| Current Path : /var/www/html/ekursus/backend/models/ |
| Current File : /var/www/html/ekursus/backend/models/ReportMeta.php |
<?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "report_meta".
*
* @property integer $id_report_meta
* @property string $title_report_meta
* @property string $created_by
* @property string $created_at
* @property string $updated_by
* @property string $updated_at
*/
class ReportMeta extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'report_meta';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[[ 'id_report_meta','display_dashboard'], 'integer'],
[[ 'role','title_report_meta','display_dashboard'], 'required'],
[['title_report_meta', 'created_by', 'created_at', 'updated_by', 'updated_at'], 'string'],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id_report_meta' => 'ID Laporan Meta',
'title_report_meta' => 'Tajuk Laporan',
'role' => 'Peranan' ,
'display_dashboard' => 'Papar Di Laman Utama?' ,
'created_by' => 'Dicipta Oleh',
'created_at' => 'Dicipta Pada',
'updated_by' => 'Dkemaskini Oleh',
'updated_at' => 'Dikemaskini Pada',
];
}
}