| Current Path : /var/www/html/maiwp.bak/console/models/ |
| Current File : /var/www/html/maiwp.bak/console/models/UserIntegration.php |
<?php
namespace console\models;
use Yii;
/**
* This is the model class for table "user_integration".
*
* @property int $user_integration_id
* @property string $start
* @property string $end
* @property int $status
* @property string $errors
* @property int $inserted
* @property int $updated
* @property string $created_at
*/
class UserIntegration extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'user_integration';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['start', 'end', 'created_at'], 'safe'],
[['status', 'inserted', 'updated'], 'integer'],
[['errors'], 'string'],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'user_integration_id' => 'User Integration ID',
'start' => 'Start',
'end' => 'End',
'status' => 'Status',
'errors' => 'Errors',
'inserted' => 'Inserted',
'updated' => 'Updated',
'created_at' => 'Created At',
];
}
}