Your IP : 216.73.216.79


Current Path : /var/www/html/dynawebv3.blunetdev.com/backend/modules/contactForm/models/
Upload File :
Current File : /var/www/html/dynawebv3.blunetdev.com/backend/modules/contactForm/models/ContactFormSetup.php

<?php

namespace backend\modules\contactForm\models;

use Yii;

/**
 * This is the model class for table "contact_form_setup".
 *
 * @property int $id
 * @property string $name
 * @property string $email_address
 * @property string $created_at
 * @property int $created_by
 * @property string $updated_at
 * @property int $updated_by
 */
class ContactFormSetup extends \yii\db\ActiveRecord {

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

    /**
     * {@inheritdoc}
     */
    public function rules() {
        return [
            [['name', 'email_address'], 'required'],
            [['created_at', 'updated_at'], 'safe'],
            [['created_by', 'updated_by'], 'integer'],
            [['name', 'email_address'], 'string', 'max' => 255],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels() {
        return [
            'id' => Yii::t('app', 'ID'),
            'name' => Yii::t('app', 'Name'),
            'email_address' => Yii::t('app', 'Email Address'),
            'created_at' => Yii::t('app', 'Created At'),
            'created_by' => Yii::t('app', 'Created By'),
            'updated_at' => Yii::t('app', 'Updated At'),
            'updated_by' => Yii::t('app', 'Updated By'),
        ];
    }

}