Your IP : 216.73.216.79


Current Path : /var/www/html/dyna-project/models/
Upload File :
Current File : /var/www/html/dyna-project/models/Pic.php

<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "pic".
 *
 * @property int $id
 * @property int $project_id
 * @property resource $role
 * @property int $user_id
 * @property string $created_dt
 * @property int $created_by
 * @property string $updated_dt
 * @property int $updated_by
 */
class Pic extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'pic';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['project_id', 'user_id', 'created_by', 'updated_by'], 'integer'],
            [['created_dt', 'updated_dt'], 'safe'],
            [['role'], 'string', 'max' => 255],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'project_id' => 'Project ID',
            'role' => 'Role',
            'user_id' => 'User ID',
            'created_dt' => 'Created Dt',
            'created_by' => 'Created By',
            'updated_dt' => 'Updated Dt',
            'updated_by' => 'Updated By',
        ];
    }
}