. */ namespace SP\DataModel; /** * Class ApiTokenData * * @package SP\DataModel */ class ApiTokenData extends DataModelBase implements DataModelInterface { /** * @var int */ public $authtoken_id; /** * @var string */ public $authtoken_key; /** * @var string */ public $authtoken_pass; /** * @var int */ public $authtoken_userId; /** * @var string */ public $authtoken_token = ''; /** * @var int */ public $authtoken_createdBy; /** * @var int */ public $authtoken_startDate; /** * @var int */ public $authtoken_actionId; /** * @var string */ public $authtoken_hash; /** * @return int */ public function getAuthtokenId() { return (int)$this->authtoken_id; } /** * @param int $authtoken_id */ public function setAuthtokenId($authtoken_id) { $this->authtoken_id = (int)$authtoken_id; } /** * @return mixed */ public function getAuthtokenKey() { return $this->authtoken_key; } /** * @param mixed $authtoken_key */ public function setAuthtokenKey($authtoken_key) { $this->authtoken_key = $authtoken_key; } /** * @return int */ public function getAuthtokenUserId() { return (int)$this->authtoken_userId; } /** * @param int $authtoken_userId */ public function setAuthtokenUserId($authtoken_userId) { $this->authtoken_userId = (int)$authtoken_userId; } /** * @return string */ public function getAuthtokenToken() { return $this->authtoken_token; } /** * @param string $authtoken_token */ public function setAuthtokenToken($authtoken_token) { $this->authtoken_token = $authtoken_token; } /** * @return int */ public function getAuthtokenCreatedBy() { return (int)$this->authtoken_createdBy; } /** * @param int $authtoken_createdBy */ public function setAuthtokenCreatedBy($authtoken_createdBy) { $this->authtoken_createdBy = (int)$authtoken_createdBy; } /** * @return int */ public function getAuthtokenStartDate() { return (int)$this->authtoken_startDate; } /** * @param int $authtoken_startDate */ public function setAuthtokenStartDate($authtoken_startDate) { $this->authtoken_startDate = (int)$authtoken_startDate; } /** * @return int */ public function getId() { return (int)$this->authtoken_id; } /** * @return string */ public function getName() { return ''; } /** * @return int */ public function getAuthtokenActionId() { return (int)$this->authtoken_actionId; } /** * @param int $authtoken_actionId */ public function setAuthtokenActionId($authtoken_actionId) { $this->authtoken_actionId = (int)$authtoken_actionId; } /** * @return string */ public function getAuthtokenHash() { return $this->authtoken_hash; } /** * @param string $authtoken_hash */ public function setAuthtokenHash($authtoken_hash) { $this->authtoken_hash = $authtoken_hash; } /** * @return string */ public function getAuthtokenPass() { return $this->authtoken_pass; } /** * @param string $authtoken_pass */ public function setAuthtokenPass($authtoken_pass) { $this->authtoken_pass = $authtoken_pass; } }