/**
  * Sets contents of passed object to values from current object.
  *
  * If desired, this method can also make copies of all associated (fkey referrers)
  * objects.
  *
  * @param      object $copyObj An object of \типыработ (or compatible) type.
  * @param      boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
  * @param      boolean $makeNew Whether to reset autoincrement PKs and make the object new.
  * @throws PropelException
  */
 public function copyInto($copyObj, $deepCopy = false, $makeNew = true)
 {
     $copyObj->setтипработ($this->getтипработ());
     $copyObj->setединицыизмерения($this->getединицыизмерения());
     $copyObj->setотображение($this->getотображение());
     if ($deepCopy) {
         // important: temporarily setNew(false) because this affects the behavior of
         // the getter/setter methods for fkey referrer objects.
         $copyObj->setNew(false);
         foreach ($this->getвыработкаs() as $relObj) {
             if ($relObj !== $this) {
                 // ensure that we don't try to copy a reference to ourselves
                 $copyObj->addвыработка($relObj->copy($deepCopy));
             }
         }
         foreach ($this->getфизическиеобъёмыs() as $relObj) {
             if ($relObj !== $this) {
                 // ensure that we don't try to copy a reference to ourselves
                 $copyObj->addфизическиеобъёмы($relObj->copy($deepCopy));
             }
         }
     }
     // if ($deepCopy)
     if ($makeNew) {
         $copyObj->setNew(true);
         $copyObj->setId(NULL);
         // this is a auto-increment column, so set to default value
     }
 }
 /**
  * Sets contents of passed object to values from current object.
  *
  * If desired, this method can also make copies of all associated (fkey referrers)
  * objects.
  *
  * @param      object $copyObj An object of \Календарь (or compatible) type.
  * @param      boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
  * @param      boolean $makeNew Whether to reset autoincrement PKs and make the object new.
  * @throws PropelException
  */
 public function copyInto($copyObj, $deepCopy = false, $makeNew = true)
 {
     $copyObj->setдата($this->getдата());
     $copyObj->setгод($this->getгод());
     $copyObj->setполугодие($this->getполугодие());
     $copyObj->setквартал($this->getквартал());
     $copyObj->setномермесяца($this->getномермесяца());
     $copyObj->setмесяц($this->getмесяц());
     $copyObj->setдень($this->getдень());
     $copyObj->setномернедели($this->getномернедели());
     $copyObj->setденьнедели($this->getденьнедели());
     $copyObj->setденьвгоду($this->getденьвгоду());
     if ($deepCopy) {
         // important: temporarily setNew(false) because this affects the behavior of
         // the getter/setter methods for fkey referrer objects.
         $copyObj->setNew(false);
         foreach ($this->getвыработкаs() as $relObj) {
             if ($relObj !== $this) {
                 // ensure that we don't try to copy a reference to ourselves
                 $copyObj->addвыработка($relObj->copy($deepCopy));
             }
         }
         foreach ($this->getдатыобновленийдашбордовs() as $relObj) {
             if ($relObj !== $this) {
                 // ensure that we don't try to copy a reference to ourselves
                 $copyObj->addдатыобновленийдашбордов($relObj->copy($deepCopy));
             }
         }
         foreach ($this->getмтрs() as $relObj) {
             if ($relObj !== $this) {
                 // ensure that we don't try to copy a reference to ourselves
                 $copyObj->addмтр($relObj->copy($deepCopy));
             }
         }
         foreach ($this->getмобилизацияs() as $relObj) {
             if ($relObj !== $this) {
                 // ensure that we don't try to copy a reference to ourselves
                 $copyObj->addмобилизация($relObj->copy($deepCopy));
             }
         }
         foreach ($this->getмобилизацияпомесяцамs() as $relObj) {
             if ($relObj !== $this) {
                 // ensure that we don't try to copy a reference to ourselves
                 $copyObj->addмобилизацияпомесяцам($relObj->copy($deepCopy));
             }
         }
         foreach ($this->getПредписанияsRelatedByдатавыдачи() as $relObj) {
             if ($relObj !== $this) {
                 // ensure that we don't try to copy a reference to ourselves
                 $copyObj->addПредписанияRelatedByдатавыдачи($relObj->copy($deepCopy));
             }
         }
         foreach ($this->getПредписанияsRelatedByплановаядатаустранения() as $relObj) {
             if ($relObj !== $this) {
                 // ensure that we don't try to copy a reference to ourselves
                 $copyObj->addПредписанияRelatedByплановаядатаустранения($relObj->copy($deepCopy));
             }
         }
         foreach ($this->getПредписанияsRelatedByфактическаядатаустранения() as $relObj) {
             if ($relObj !== $this) {
                 // ensure that we don't try to copy a reference to ourselves
                 $copyObj->addПредписанияRelatedByфактическаядатаустранения($relObj->copy($deepCopy));
             }
         }
         foreach ($this->getфизическиеобъёмыs() as $relObj) {
             if ($relObj !== $this) {
                 // ensure that we don't try to copy a reference to ourselves
                 $copyObj->addфизическиеобъёмы($relObj->copy($deepCopy));
             }
         }
     }
     // if ($deepCopy)
     if ($makeNew) {
         $copyObj->setNew(true);
     }
 }