Your IP : 216.73.216.79


Current Path : /var/www/html/masjid/backend/modules/chat/models/
Upload File :
Current File : /var/www/html/masjid/backend/modules/chat/models/ChatCommonQuestion.php

<?php

namespace backend\modules\chat\models;

use Yii;

/**
 * This is the model class for table "chat_common_question".
 *
 * @property int $common_question_id
 * @property string $common_question_description
 * @property string $create_dttm
 */
class ChatCommonQuestion extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'chat_common_question';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['common_question_description'], 'required'],
            [['create_dttm'], 'safe'],
            [['common_question_description'], 'string', 'max' => 256],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'common_question_id' => Yii::t('app', 'Common Question ID'),
            'common_question_description' => Yii::t('app', 'Common Question Description'),
            'create_dttm' => Yii::t('app', 'Create Dttm'),
        ];
    }
}