<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "ugiro_request_assignment".
 *
 * @property integer $id_ugiro_request_assignment
 * @property integer $id_ugiro
 * @property integer $id_request
 * @property string $created_at
 * @property string $updated_at
 */
class UgiroRequestAssignment extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'ugiro_request_assignment';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['id_ugiro', 'id_request'], 'integer'],
            [['created_at', 'updated_at'], 'required'],
            [['created_at', 'updated_at'], 'safe']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id_ugiro_request_assignment' => Yii::t('common/ugiro_request_assignment', 'Id Ugiro Request Assignment'),
            'id_ugiro' => Yii::t('common/ugiro_request_assignment', 'Id Ugiro'),
            'id_request' => Yii::t('common/ugiro_request_assignment', 'Id Request'),
            'created_at' => Yii::t('common/ugiro_request_assignment', 'Created At'),
            'updated_at' => Yii::t('common/ugiro_request_assignment', 'Updated At'),
        ];
    }
}
