| Current Path : /var/www/html/drsa/backend/modules/appStatistics/models/ |
| Current File : /var/www/html/drsa/backend/modules/appStatistics/models/ModuleAppStatisticsData.php |
<?php
namespace backend\modules\appStatistics\models;
use Yii;
/**
* This is the model class for table "module_app_statistics_data".
*
* @property int $id
* @property string $title
* @property string $data
* @property int $id_series
* @property string $created_at
* @property string $created_by
* @property string $updated_at
* @property string $updated_by
*/
class ModuleAppStatisticsData extends \yii\db\ActiveRecord {
/**
* {@inheritdoc}
*/
public static function tableName() {
return 'module_app_statistics_data';
}
/**
* {@inheritdoc}
*/
public function rules() {
return [
[['title', 'data'], 'required'],
[['id_series', 'created_at', 'updated_at', 'created_by', 'updated_by'], 'safe'],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels() {
return [
'id' => 'ID',
'title' => 'Title',
'data' => 'Data',
'id_series' => 'Id Series',
'created_at' => 'Created At',
'created_by' => 'Created By',
'updated_at' => 'Updated At',
'updated_by' => 'Updated By',
];
}
}