255], [['msg'], 'string', 'max' => 1024], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'route' => 'Route', 'description' => 'Description', 'bus_order_id' => 'Bus Order ID', 'type' => 'Type', 'msg' => 'Msg', 'attributes' => 'Attributes', 'values' => 'Values', 'old_values' => 'Old Values', 'created_at' => 'Created At', 'user_id' => 'User ID', ]; } public function getUser() { return $this->hasOne(BaseUser::tableName(), ['ID' => 'user_id']); } }