| Current Path : /var/www/html/school/backend/models/ |
| Current File : /var/www/html/school/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'], 'required'],
[['title_report_meta', 'created_by', 'created_at', 'updated_by', 'updated_at'], 'string'],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id_report_meta' => 'Id Report Meta',
'title_report_meta' => 'Title Report Meta',
'role' => 'Role' ,
'display_dashboard' => 'Display At Dashboard' ,
'created_by' => 'Created By',
'created_at' => 'Created At',
'updated_by' => 'Updated By',
'updated_at' => 'Updated At',
];
}
}