123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class UserApiKey extends \Entity
- {
- /**
- * @return \Entity\Repository\UserApiKeyRepository
- */
- public static function repository(){
- return \Entity\Repository\UserApiKeyRepository::instance();
- }
- /**
- * @return \Entity\UserApiKey
- */
- public static function create(){
- return new self();
- }
- /**
- * @var integer $id
- */
- protected $id;
- /**
- * @var integer $user_id
- */
- protected $user_id;
- /**
- * @var string $api_key
- */
- protected $api_key;
- /**
- * @var string $api_service
- */
- protected $api_service;
- /**
- * @var text $api_end_point
- */
- protected $api_end_point;
- /**
- * @var datetime $created_date
- */
- protected $created_date;
- /**
- * @var datetime $validity_start_date
- */
- protected $validity_start_date;
- /**
- * @var datetime $validity_end_date
- */
- protected $validity_end_date;
- /**
- * @var text $description
- */
- protected $description;
- /**
- * Get id
- *
- * @return integer
- */
- public function get_id()
- {
- return $this->id;
- }
- /**
- * Set user_id
- *
- * @param integer $value
- * @return UserApiKey
- */
- public function set_user_id($value)
- {
- $this->user_id = $value;
- return $this;
- }
- /**
- * Get user_id
- *
- * @return integer
- */
- public function get_user_id()
- {
- return $this->user_id;
- }
- /**
- * Set api_key
- *
- * @param string $value
- * @return UserApiKey
- */
- public function set_api_key($value)
- {
- $this->api_key = $value;
- return $this;
- }
- /**
- * Get api_key
- *
- * @return string
- */
- public function get_api_key()
- {
- return $this->api_key;
- }
- /**
- * Set api_service
- *
- * @param string $value
- * @return UserApiKey
- */
- public function set_api_service($value)
- {
- $this->api_service = $value;
- return $this;
- }
- /**
- * Get api_service
- *
- * @return string
- */
- public function get_api_service()
- {
- return $this->api_service;
- }
- /**
- * Set api_end_point
- *
- * @param text $value
- * @return UserApiKey
- */
- public function set_api_end_point($value)
- {
- $this->api_end_point = $value;
- return $this;
- }
- /**
- * Get api_end_point
- *
- * @return text
- */
- public function get_api_end_point()
- {
- return $this->api_end_point;
- }
- /**
- * Set created_date
- *
- * @param datetime $value
- * @return UserApiKey
- */
- public function set_created_date($value)
- {
- $this->created_date = $value;
- return $this;
- }
- /**
- * Get created_date
- *
- * @return datetime
- */
- public function get_created_date()
- {
- return $this->created_date;
- }
- /**
- * Set validity_start_date
- *
- * @param datetime $value
- * @return UserApiKey
- */
- public function set_validity_start_date($value)
- {
- $this->validity_start_date = $value;
- return $this;
- }
- /**
- * Get validity_start_date
- *
- * @return datetime
- */
- public function get_validity_start_date()
- {
- return $this->validity_start_date;
- }
- /**
- * Set validity_end_date
- *
- * @param datetime $value
- * @return UserApiKey
- */
- public function set_validity_end_date($value)
- {
- $this->validity_end_date = $value;
- return $this;
- }
- /**
- * Get validity_end_date
- *
- * @return datetime
- */
- public function get_validity_end_date()
- {
- return $this->validity_end_date;
- }
- /**
- * Set description
- *
- * @param text $value
- * @return UserApiKey
- */
- public function set_description($value)
- {
- $this->description = $value;
- return $this;
- }
- /**
- * Get description
- *
- * @return text
- */
- public function get_description()
- {
- return $this->description;
- }
- }
|