1: <?php
2:
3: namespace Genetsis\core\user;
4:
5: /**
6: * This class stores the User Data get by User API
7: *
8: * @package Genetsis
9: * @category Bean
10: * @version 2.0
11: */
12: class QueryUserData
13: {
14: /** @var string key */
15: private $key = null;
16: /** @var string value id */
17: private $vid = null;
18: /** @var string Sex Value */
19: private $value = null;
20: /** @var string Label field value */
21: private $label = null;
22:
23: public function __construct(){
24:
25: }
26:
27: /**
28: * @param string $key
29: */
30: public function setKey($key)
31: {
32: $this->key = $key;
33: }
34:
35: /**
36: * @return string
37: */
38: public function getKey()
39: {
40: return $this->key;
41: }
42:
43: /**
44: * @param int $vid
45: */
46: public function setVid($vid)
47: {
48: $this->vid = $vid;
49: }
50:
51: /**
52: * @return int
53: */
54: public function getVid()
55: {
56: return $this->vid;
57: }
58:
59: /**
60: * @param string $value
61: */
62: public function setValue($value)
63: {
64: $this->value = $value;
65: }
66:
67: /**
68: * @return string
69: */
70: public function getValue()
71: {
72: return $this->value;
73: }
74:
75: /**
76: * @param string $label
77: */
78: public function setLabel($label)
79: {
80: $this->label = $label;
81: }
82:
83: /**
84: * @return string
85: */
86: public function getLabel()
87: {
88: return $this->label;
89: }
90:
91: }