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