1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- namespace app\models;
- use Yii;
- /**
- * This is the model class for table "inquirer_log".
- *
- * @property int $id
- * @property int $idq
- * @property string $hash
- * @property string $dt
- */
- class InquirerLog extends \yii\db\ActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return 'inquirer_log';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['idq', 'hash'], 'required'],
- [['idq'], 'integer'],
- [['dt'], 'safe'],
- [['hash'], 'string', 'max' => 64],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'idq' => 'id вопроса',
- 'hash' => 'Hash',
- 'dt' => 'дата голоса',
- ];
- }
- }
|