<?php
namespace App\Entity;
/**
* SchoolAward
*/
class SchoolAward
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $name;
/**
* @var string
*/
private $description;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set name.
*
* @param string $name
*
* @return SchoolAward
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name.
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set description.
*
* @param string $description
*
* @return SchoolAward
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description.
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @var int
*/
private $points;
/**
* Set points.
*
* @param int $points
*
* @return SchoolAward
*/
public function setPoints($points)
{
$this->points = $points;
return $this;
}
/**
* Get points.
*
* @return int
*/
public function getPoints()
{
return $this->points;
}
/**
* @var \DateTime|null
*/
private $endDate;
/**
* Set endDate.
*
* @param \DateTime|null $endDate
*
* @return SchoolAward
*/
public function setEndDate($endDate = null)
{
$this->endDate = $endDate;
return $this;
}
/**
* Get endDate.
*
* @return \DateTime|null
*/
public function getEndDate()
{
return $this->endDate;
}
}