Your IP : 216.73.216.79


Current Path : /var/www/html/dosm/backend/models/
Upload File :
Current File : /var/www/html/dosm/backend/models/TotHireMar.php

<?php

namespace backend\models;

use Yii;

/**
 * This is the model class for table "tot_hire_mar".
 *
 * @property int $hire_id
 * @property string $hire_name
 * @property string $hire_email
 * @property string $hire_job
 */
class TotHireMar extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'tot_hire_mar';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['hire_name', 'hire_email', 'hire_job'], 'string', 'max' => 255],
            [['hire_date'], 'safe'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'hire_id' => 'ID',
            'hire_name' => 'Applicants Name' ,
            'hire_email' => 'Applicants Email',
            'hire_job' => 'Job Enquiries',
            'hire_date' => 'Date Apply'
        ];
    }
}