Commit 267fd412 by Frédéric

Flux Entity

parent 128b63e7
<?php
namespace Bolt\Extension\Appolo\Tourinsoft\Storage\Entity;
use Bolt\Storage\Entity\Entity;
class Flux extends Entity
{
/** @var integer */
protected $id;
/** @var string */
protected $title;
/** @var string */
protected $code;
/** @var string */
protected $key;
/** @var string */
protected $contentType;
/** @var boolean */
protected $enabled;
/** @var \Datetime */
protected $createdAt;
/** @var \Datetime */
protected $updatedAt;
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string $title
* @return Flux
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param string $code
* @return Flux
*/
public function setCode($code)
{
$this->code = $code;
return $this;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string $key
* @return Flux
*/
public function setKey($key)
{
$this->key = $key;
return $this;
}
/**
* @return string
*/
public function getContentType()
{
return $this->contentType;
}
/**
* @param string $contentType
* @return Flux
*/
public function setContentType($contentType)
{
$this->contentType = $contentType;
return $this;
}
/**
* @return bool
*/
public function isEnabled()
{
return $this->enabled;
}
/**
* @param bool $enabled
* @return Flux
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
return $this;
}
/**
* @return \Datetime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* @param \Datetime $createdAt
* @return Flux
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* @return \Datetime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
/**
* @param \Datetime $updatedAt
* @return Flux
*/
public function setUpdatedAt($updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment