<?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; } }