public function init() { parent::init(); $this->price = $this->quantity = 0; $this->outer_id = time(); }