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/ChatCommonWord.php

<?php

namespace backend\modules\chat\models;

use Yii;

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

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

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