| Current Path : /var/www/html/chatbot/backend/models/ReportView/ |
| Current File : /var/www/html/chatbot/backend/models/ReportView/ReportView.php |
<?php
namespace backend\models\ReportView;
use Yii;
/**
* This is the model class for table "lphs_report".
*
* @property int $id
* @property string $report_name
* @property string $report_description
* @property string $report_jasper
* @property string $report_jrxml
*/
class ReportView extends \yii\db\ActiveRecord
{
public $file;
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'dmg_report';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['report_name', 'report_description', 'report_jasper','report_jrxml'], 'string', 'max' => 256],
[['file'], 'file'],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => Yii::t('app', 'Id Laporan'),
'report_name' => Yii::t('app', 'Nama Laporan'),
'report_description' => Yii::t('app', 'Maklumat Laporan'),
'report_jasper' => Yii::t('app', 'Report Jasper'),
'file'=> Yii::t('app', 'Report Jasper JRXML'),
];
}
}