Your IP : 216.73.216.79


Current Path : /var/www/html/intranetdbklv2/console/models/
Upload File :
Current File : /var/www/html/intranetdbklv2/console/models/FileIntegration.php

<?php

namespace console\models;

use Yii;

/**
 * This is the model class for table "file_integration".
 *
 * @property int $integration_id
 * @property string|null $name
 * @property string|null $timestamp
 * @property string|null $start_time
 * @property string|null $end_time
 * @property string|null $path
 * @property int|null $status
 * @property int|null $total_record
 * @property int|null $new_record
 * @property int|null $updated_record
 * @property string $created_at
 */
class FileIntegration extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'file_integration';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['start_time', 'end_time', 'created_at', 'error', 'conn'], 'safe'],
            [['status', 'total_record', 'new_record', 'updated_record'], 'integer'],
            [['name'], 'string', 'max' => 250],
            [['timestamp'], 'string', 'max' => 14],
            [['path'], 'string', 'max' => 1000],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'integration_id' => Yii::t('app', 'Integration ID'),
            'name' => Yii::t('app', 'Name'),
            'timestamp' => Yii::t('app', 'Timestamp'),
            'start_time' => Yii::t('app', 'Start Time'),
            'end_time' => Yii::t('app', 'End Time'),
            'path' => Yii::t('app', 'Path'),
            'status' => Yii::t('app', 'Status'),
            'total_record' => Yii::t('app', 'Total Record'),
            'new_record' => Yii::t('app', 'New Record'),
            'updated_record' => Yii::t('app', 'Updated Record'),
            'created_at' => Yii::t('app', 'Created At'),
        ];
    }
}