Code Duplication    Length = 13-13 lines in 5 locations

app/Models/User/Base/User.php 5 locations

@@ 427-439 (lines=13) @@
424
     * @param int $v new value
425
     * @return $this|\Models\User\User The current object (for fluent API support)
426
     */
427
    public function setId($v)
428
    {
429
        if ($v !== null) {
430
            $v = (int) $v;
431
        }
432
433
        if ($this->id !== $v) {
434
            $this->id = $v;
435
            $this->modifiedColumns[UserTableMap::COL_ID] = true;
436
        }
437
438
        return $this;
439
    } // setId()
440
441
    /**
442
     * Set the value of [name] column.
@@ 447-459 (lines=13) @@
444
     * @param string $v new value
445
     * @return $this|\Models\User\User The current object (for fluent API support)
446
     */
447
    public function setName($v)
448
    {
449
        if ($v !== null) {
450
            $v = (string) $v;
451
        }
452
453
        if ($this->name !== $v) {
454
            $this->name = $v;
455
            $this->modifiedColumns[UserTableMap::COL_NAME] = true;
456
        }
457
458
        return $this;
459
    } // setName()
460
461
    /**
462
     * Set the value of [email] column.
@@ 467-479 (lines=13) @@
464
     * @param string $v new value
465
     * @return $this|\Models\User\User The current object (for fluent API support)
466
     */
467
    public function setEmail($v)
468
    {
469
        if ($v !== null) {
470
            $v = (string) $v;
471
        }
472
473
        if ($this->email !== $v) {
474
            $this->email = $v;
475
            $this->modifiedColumns[UserTableMap::COL_EMAIL] = true;
476
        }
477
478
        return $this;
479
    } // setEmail()
480
481
    /**
482
     * Set the value of [password] column.
@@ 487-499 (lines=13) @@
484
     * @param string $v new value
485
     * @return $this|\Models\User\User The current object (for fluent API support)
486
     */
487
    public function setPassword($v)
488
    {
489
        if ($v !== null) {
490
            $v = (string) $v;
491
        }
492
493
        if ($this->password !== $v) {
494
            $this->password = $v;
495
            $this->modifiedColumns[UserTableMap::COL_PASSWORD] = true;
496
        }
497
498
        return $this;
499
    } // setPassword()
500
501
    /**
502
     * Set the value of [remember_token] column.
@@ 507-519 (lines=13) @@
504
     * @param string $v new value
505
     * @return $this|\Models\User\User The current object (for fluent API support)
506
     */
507
    public function setRememberToken($v)
508
    {
509
        if ($v !== null) {
510
            $v = (string) $v;
511
        }
512
513
        if ($this->remember_token !== $v) {
514
            $this->remember_token = $v;
515
            $this->modifiedColumns[UserTableMap::COL_REMEMBER_TOKEN] = true;
516
        }
517
518
        return $this;
519
    } // setRememberToken()
520
521
    /**
522
     * Sets the value of [created_at] column to a normalized version of the date/time value specified.