<?phpnamespace AdminBundle\Entity;use DateTime;use Doctrine\ORM\Mapping as ORM;/** * DriverHistoryTimelogs */#[ORM\Table(name: 'driver_history_timelogs')]#[ORM\Entity(repositoryClass: \AdminBundle\Repository\DriverHistoryTimelogsRepository::class)]class DriverHistoryTimelogs{ /** * @var int */ #[ORM\Column(name: 'id', type: 'integer')] #[ORM\Id] #[ORM\GeneratedValue(strategy: 'AUTO')] private $id; /** * @var Driver */ #[ORM\JoinColumn(name: 'driver_id', referencedColumnName: 'id', nullable: false)] #[ORM\ManyToOne(targetEntity: \AdminBundle\Entity\Driver::class, inversedBy: 'driverHistoryTimelogs')] private $driver; /** * @var DateTime */ #[ORM\Column(name: 'date', type: 'date')] private $date; /** * @var \DateTime */ #[ORM\Column(name: 'last_received_time', type: 'datetime')] private $lastReceivedTime; /** * @var int */ #[ORM\Column(name: 'daily_total', type: 'integer')] private $dailyTotal; /** * @var int */ #[ORM\Column(name: 'daily_total_app', type: 'integer')] private $dailyTotalApp; /** * Get the value of id * * @return int */ public function getId() { return $this->id; } /** * Get the value of driver * * @return Driver */ public function getDriver() { return $this->driver; } /** * Set the value of driver * * @param Driver $driver * * @return DriverHistoryTimelogs */ public function setDriver(Driver $driver) { $this->driver = $driver; return $this; } /** * Get the value of lastReceivedTime * * @return DateTime */ public function getLastReceivedTime() { return $this->lastReceivedTime; } /** * Set the value of lastReceivedTime * * @param DateTime $lastReceivedTime * * @return DriverHistoryTimelogs */ public function setLastReceivedTime(DateTime $lastReceivedTime) { $this->lastReceivedTime = $lastReceivedTime; return $this; } /** * Get the value of dailyTotal * * @return int */ public function getDailyTotal() { return $this->dailyTotal; } /** * Set the value of dailyTotal * * @param int $dailyTotal * * @return DriverHistoryTimelogs */ public function setDailyTotal(int $dailyTotal) { $this->dailyTotal = $dailyTotal; return $this; } /** * Get the value of dailyTotalApp * * @return int */ public function getDailyTotalApp() { return $this->dailyTotalApp; } /** * Set the value of dailyTotalApp * * @param int $dailyTotalApp * * @return DriverHistoryTimelogs */ public function setDailyTotalApp(int $dailyTotalApp) { $this->dailyTotalApp = $dailyTotalApp; return $this; } /** * Get the value of date * * @return DateTime */ public function getDate() { return $this->date; } /** * Set the value of date * * @param DateTime $date * * @return DriverHistoryTimelogs */ public function setDate(DateTime $date) { $this->date = $date; return $this; }}