Your IP : 216.73.216.79


Current Path : /var/www/html/mtdc/backend/models/networking/
Upload File :
Current File : /var/www/html/mtdc/backend/models/networking/NetworkingBusinessCardLog.php

<?php

namespace backend\models\networking;

use Yii;

/**
 * This is the model class for table "networking_business_card_log".
 *
 * @property int $id
 * @property int|null $report_by
 * @property string|null $report_at
 * @property string|null $report_status
 * @property string|null $report_type
 * @property string|null $report_data
 * @property string|null $report_remarks
 * @property int|null $updated_by
 * @property string|null $updated_at
 */
class NetworkingBusinessCardLog extends \yii\db\ActiveRecord {

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

    /**
     * {@inheritdoc}
     */
    public function rules() {
        return [
            [['report_by', 'updated_by', 'directory_id'], 'integer'],
            [['report_at', 'updated_at'], 'safe'],
            [['report_data', 'report_remarks'], 'string'],
            [['report_status', 'report_type'], 'string', 'max' => 255],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels() {
        return [
            'id' => 'ID',
            'directory_id' => 'Directory User',
            'report_by' => 'Request By',
            'report_at' => 'Request At',
            'report_status' => 'Status',
            'report_type' => 'Type',
            'report_data' => 'Report Data',
            'report_remarks' => 'Remarks',
            'updated_by' => 'Updated By',
            'updated_at' => 'Updated At',
        ];
    }

}