Your IP : 216.73.216.79


Current Path : /var/www/html/mygdx/backend/modules/mmngr/models/
Upload File :
Current File : /var/www/html/mygdx/backend/modules/mmngr/models/ModuleRepositoryInstall.php

<?php

namespace backend\modules\mmngr\models;

use Yii;

/**
 * This is the model class for table "module_repository_install".
 *
 * @property int $id
 * @property int|null $repo_module_id
 * @property string|null $module_id
 * @property string|null $name
 * @property string|null $version
 * @property string|null $url
 * @property string|null $created_at
 */
class ModuleRepositoryInstall extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'module_repository_install';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['module_id','repo_module_id'], 'integer'],
            [['created_at'], 'safe'],
            [['name', 'version', 'url'], 'string', 'max' => 500],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'repo_module_id' => 'Repo Module ID',
            'module_id' => 'Module ID',
            'name' => 'Name',
            'version' => 'Version',
            'url' => 'Url',
            'created_at' => 'Created At',
        ];
    }
}