/** * @return \app\models\Zvezdnoe */ public function getZvezdnoe() { $i = $this->getField('zvezdnoe', ''); if ($i == '') { $i = "{data:''}"; } return Zvezdnoe::set($i); }
/** * @param \app\models\Zvezdnoe $z * * */ public function setZvezdnoe($z) { $this->update(['zvezdnoe' => $z->__toString()]); }