Your IP : 216.73.216.79


Current Path : /var/www/html/jpp/backend/modules/feedback.backup/models/
Upload File :
Current File : /var/www/html/jpp/backend/modules/feedback.backup/models/FeedbackMessages.php

<?php

namespace backend\modules\feedback\models;

use Yii;

/**
 * This is the model class for table "feedback_messages".
 *
 * @property int $id
 * @property int|null $feedback_id
 * @property string|null $message
 * @property string|null $read_status
 * @property string|null $send_to
 * @property string|null $created_at
 * @property int|null $created_by
 * @property string|null $created_user_type
 */
class FeedbackMessages extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'feedback_messages';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['feedback_id', 'created_by'], 'integer'],
            [['message'], 'string'],
            [['created_at'], 'safe'],
            [['read_status', 'send_to', 'created_user_type'], 'string', 'max' => 255],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => Yii::t('app', 'ID'),
            'feedback_id' => Yii::t('app', 'Feedback ID'),
            'message' => Yii::t('app', 'Message'),
            'read_status' => Yii::t('app', 'Read Status'),
            'send_to' => Yii::t('app', 'Send To'),
            'created_at' => Yii::t('app', 'Created At'),
            'created_by' => Yii::t('app', 'Created By'),
            'created_user_type' => Yii::t('app', 'Created User Type'),
        ];
    }
}