<?php
namespace JLaso\SimpleStats\Model;
class Event
{
/** @var string */
protected $eventName;
/** @var int stored as epoch time */
protected $date;
/** @var array */
protected $data;
/**
* @return string
*/
public function getEventName()
{
return $this->eventName;
}
/**
* @param string $eventName
*/
public function setEventName($eventName)
{
$this->eventName = $eventName;
}
/**
* @return int
*/
public function getDate()
{
return $this->date;
}
/**
* @param int $date
*/
public function setDate($date)
{
$this->date = $date;
}
/**
* @return array
*/
public function getData()
{
return $this->data;
}
/**
* @param array $data
*/
public function setData($data)
{
$this->data = $data;
}
}
|