Your IP : 216.73.216.79


Current Path : /var/www/html/donate/common/models/
Upload File :
Current File : /var/www/html/donate/common/models/Otp.php

<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "otp".
 *
 * @property int $id
 * @property string $uuid
 * @property string $username
 * @property string $email
 * @property string $otp
 * @property string $created_at
 */
class Otp extends \yii\db\ActiveRecord {

    /**
     * {@inheritdoc}
     */
    public static function tableName() {
        return 'otp';
    }

    /**
     * {@inheritdoc}
     */
    public function rules() {
        return [
            [['created_at', 'uuid', 'username', 'email', 'otp'], 'safe'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels() {
        return [
            'id' => 'ID',
            'uuid' => 'Uuid',
            'username' => 'Username',
            'email' => 'Email',
            'otp' => 'Otp',
            'created_at' => 'Created At',
        ];
    }

}