| Current Path : /var/www/html/dosm/backend/modules/statisticsFun/models/ |
| Current File : /var/www/html/dosm/backend/modules/statisticsFun/models/StatsFunChildOutput.php |
<?php
namespace backend\modules\statisticsFun\models;
use Yii;
/**
* This is the model class for table "stats_fun_child_output".
*
* @property int $output_id
* @property int $main_id
* @property string $output_name
* @property int $form_id
* @property string $created_at
* @property string $created_by
* @property string $updated_at
* @property string $updated_by
*/
class StatsFunChildOutput extends \yii\db\ActiveRecord {
/**
* {@inheritdoc}
*/
public static function tableName() {
return 'stats_fun_child_output';
}
/**
* {@inheritdoc}
*/
public function rules() {
return [
[['created_at', 'updated_at', 'output_name', 'created_by', 'updated_by', 'child_id', 'form_id', 'stats_id'], 'safe'],
[['output_name'], 'required'],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels() {
return [
'output_id' => 'Output ID',
'output_name' => 'Output Title',
'form_id' => 'Form Name',
'created_at' => 'Created At',
'created_by' => 'Created By',
'updated_at' => 'Updated At',
'updated_by' => 'Updated By',
];
}
}