| @@ 454-466 (lines=13) @@ | ||
| 451 | * @param int $v new value |
|
| 452 | * @return $this|\Models\User\User The current object (for fluent API support) |
|
| 453 | */ |
|
| 454 | public function setId($v) |
|
| 455 | { |
|
| 456 | if ($v !== null) { |
|
| 457 | $v = (int) $v; |
|
| 458 | } |
|
| 459 | ||
| 460 | if ($this->id !== $v) { |
|
| 461 | $this->id = $v; |
|
| 462 | $this->modifiedColumns[UserTableMap::COL_ID] = true; |
|
| 463 | } |
|
| 464 | ||
| 465 | return $this; |
|
| 466 | } // setId() |
|
| 467 | ||
| 468 | /** |
|
| 469 | * Set the value of [name] column. |
|
| @@ 474-486 (lines=13) @@ | ||
| 471 | * @param string $v new value |
|
| 472 | * @return $this|\Models\User\User The current object (for fluent API support) |
|
| 473 | */ |
|
| 474 | public function setName($v) |
|
| 475 | { |
|
| 476 | if ($v !== null) { |
|
| 477 | $v = (string) $v; |
|
| 478 | } |
|
| 479 | ||
| 480 | if ($this->name !== $v) { |
|
| 481 | $this->name = $v; |
|
| 482 | $this->modifiedColumns[UserTableMap::COL_NAME] = true; |
|
| 483 | } |
|
| 484 | ||
| 485 | return $this; |
|
| 486 | } // setName() |
|
| 487 | ||
| 488 | /** |
|
| 489 | * Set the value of [email] column. |
|
| @@ 494-506 (lines=13) @@ | ||
| 491 | * @param string $v new value |
|
| 492 | * @return $this|\Models\User\User The current object (for fluent API support) |
|
| 493 | */ |
|
| 494 | public function setEmail($v) |
|
| 495 | { |
|
| 496 | if ($v !== null) { |
|
| 497 | $v = (string) $v; |
|
| 498 | } |
|
| 499 | ||
| 500 | if ($this->email !== $v) { |
|
| 501 | $this->email = $v; |
|
| 502 | $this->modifiedColumns[UserTableMap::COL_EMAIL] = true; |
|
| 503 | } |
|
| 504 | ||
| 505 | return $this; |
|
| 506 | } // setEmail() |
|
| 507 | ||
| 508 | /** |
|
| 509 | * Set the value of [password] column. |
|
| @@ 514-526 (lines=13) @@ | ||
| 511 | * @param string $v new value |
|
| 512 | * @return $this|\Models\User\User The current object (for fluent API support) |
|
| 513 | */ |
|
| 514 | public function setPassword($v) |
|
| 515 | { |
|
| 516 | if ($v !== null) { |
|
| 517 | $v = (string) $v; |
|
| 518 | } |
|
| 519 | ||
| 520 | if ($this->password !== $v) { |
|
| 521 | $this->password = $v; |
|
| 522 | $this->modifiedColumns[UserTableMap::COL_PASSWORD] = true; |
|
| 523 | } |
|
| 524 | ||
| 525 | return $this; |
|
| 526 | } // setPassword() |
|
| 527 | ||
| 528 | /** |
|
| 529 | * Set the value of [remember_token] column. |
|
| @@ 534-546 (lines=13) @@ | ||
| 531 | * @param string $v new value |
|
| 532 | * @return $this|\Models\User\User The current object (for fluent API support) |
|
| 533 | */ |
|
| 534 | public function setRememberToken($v) |
|
| 535 | { |
|
| 536 | if ($v !== null) { |
|
| 537 | $v = (string) $v; |
|
| 538 | } |
|
| 539 | ||
| 540 | if ($this->remember_token !== $v) { |
|
| 541 | $this->remember_token = $v; |
|
| 542 | $this->modifiedColumns[UserTableMap::COL_REMEMBER_TOKEN] = true; |
|
| 543 | } |
|
| 544 | ||
| 545 | return $this; |
|
| 546 | } // setRememberToken() |
|
| 547 | ||
| 548 | /** |
|
| 549 | * Sets the value of [created_at] column to a normalized version of the date/time value specified. |
|
| @@ 369-381 (lines=13) @@ | ||
| 366 | * @param int $v new value |
|
| 367 | * @return $this|\Price\Models\Selfprice\Selfprice The current object (for fluent API support) |
|
| 368 | */ |
|
| 369 | public function setId($v) |
|
| 370 | { |
|
| 371 | if ($v !== null) { |
|
| 372 | $v = (int) $v; |
|
| 373 | } |
|
| 374 | ||
| 375 | if ($this->id !== $v) { |
|
| 376 | $this->id = $v; |
|
| 377 | $this->modifiedColumns[SelfpriceTableMap::COL_ID] = true; |
|
| 378 | } |
|
| 379 | ||
| 380 | return $this; |
|
| 381 | } // setId() |
|
| 382 | ||
| 383 | /** |
|
| 384 | * Set the value of [name] column. |
|
| @@ 389-401 (lines=13) @@ | ||
| 386 | * @param string $v new value |
|
| 387 | * @return $this|\Price\Models\Selfprice\Selfprice The current object (for fluent API support) |
|
| 388 | */ |
|
| 389 | public function setName($v) |
|
| 390 | { |
|
| 391 | if ($v !== null) { |
|
| 392 | $v = (string) $v; |
|
| 393 | } |
|
| 394 | ||
| 395 | if ($this->name !== $v) { |
|
| 396 | $this->name = $v; |
|
| 397 | $this->modifiedColumns[SelfpriceTableMap::COL_NAME] = true; |
|
| 398 | } |
|
| 399 | ||
| 400 | return $this; |
|
| 401 | } // setName() |
|
| 402 | ||
| 403 | /** |
|
| 404 | * Sets the value of [datecreate] column to a normalized version of the date/time value specified. |
|
| @@ 429-441 (lines=13) @@ | ||
| 426 | * @param string $v new value |
|
| 427 | * @return $this|\Price\Models\Selfprice\Selfprice The current object (for fluent API support) |
|
| 428 | */ |
|
| 429 | public function setDesc($v) |
|
| 430 | { |
|
| 431 | if ($v !== null) { |
|
| 432 | $v = (string) $v; |
|
| 433 | } |
|
| 434 | ||
| 435 | if ($this->desc !== $v) { |
|
| 436 | $this->desc = $v; |
|
| 437 | $this->modifiedColumns[SelfpriceTableMap::COL_DESC] = true; |
|
| 438 | } |
|
| 439 | ||
| 440 | return $this; |
|
| 441 | } // setDesc() |
|
| 442 | ||
| 443 | /** |
|
| 444 | * Indicates whether the columns in this object are only set to default values. |
|