id = $id; return $this; } /** * Gets id. * * @return int */ public function getId() { return $this->id; } /** * Set periodicity * * @param string $periodicity * * @return BillPeriod */ public function setPeriodicity($periodicity) { $this->periodicity = $periodicity; return $this; } /** * Get periodicity * * @return string */ public function getPeriodicity() { return $this->periodicity; } /** * Set schoolYear * * @param string $schoolYear * * @return BillPeriod */ public function setSchoolYear($schoolYear) { $this->schoolYear = $schoolYear; return $this; } /** * Get schoolYear * * @return string */ public function getSchoolYear() { return $this->schoolYear; } /** * Set detailDateStart * * @param \DateTime $detailDateStart * * @return BillPeriod */ public function setDetailDateStart($detailDateStart) { $this->detailDateStart = $detailDateStart; return $this; } /** * Get detailDateStart * * @return \DateTime */ public function getDetailDateStart() { return $this->detailDateStart ? $this->detailDateStart->format('Y-m-d') : $this->detailDateStart; } /** * Set detailDateEnd * * @param \DateTime $detailDateEnd * * @return BillPeriod */ public function setDetailDateEnd($detailDateEnd) { $this->detailDateEnd = $detailDateEnd; return $this; } /** * Get detailDateEnd * * @return \DateTime */ public function getDetailDateEnd() { return $this->detailDateEnd ? $this->detailDateEnd->format('Y-m-d') : $this->detailDateEnd; } /** * Set uniqDate * * @param \DateTime $uniqDate * * @return BillPeriod */ public function setUniqDate($uniqDate) { $this->uniqDate = $uniqDate; return $this; } /** * Get uniqDate * * @return \DateTime */ public function getUniqDate() { return $this->uniqDate ? $this->uniqDate->format('Y-m-d') : $this->uniqDate; } /** * Set detailLabel * * @param string $detailLabel * * @return BillPeriod */ public function setDetailLabel($detailLabel) { $this->detailLabel = $detailLabel; return $this; } /** * Get detailLabel * * @return string */ public function getDetailLabel() { return $this->detailLabel; } }