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