CorpHrmEmployeeAddresumerecordRequest.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?php
  2. /**
  3. * dingtalk API: dingtalk.corp.hrm.employee.addresumerecord request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2018.07.25
  7. */
  8. class CorpHrmEmployeeAddresumerecordRequest
  9. {
  10. /**
  11. * 成长记录第一条内容
  12. **/
  13. private $content;
  14. /**
  15. * 厂长记录kv展示内容:json格式,顺序展示
  16. **/
  17. private $kVContent;
  18. /**
  19. * pc端url
  20. **/
  21. private $pcUrl;
  22. /**
  23. * 手机端url
  24. **/
  25. private $phoneUrl;
  26. /**
  27. * 20180428 零点零分零秒
  28. **/
  29. private $recordTimeStamp;
  30. /**
  31. * 成长记录title
  32. **/
  33. private $title;
  34. /**
  35. * 被操作人userid
  36. **/
  37. private $userid;
  38. /**
  39. * webOA后台url
  40. **/
  41. private $webUrl;
  42. private $apiParas = array();
  43. public function setContent($content)
  44. {
  45. $this->content = $content;
  46. $this->apiParas["content"] = $content;
  47. }
  48. public function getContent()
  49. {
  50. return $this->content;
  51. }
  52. public function setkVContent($kVContent)
  53. {
  54. $this->kVContent = $kVContent;
  55. $this->apiParas["k_v_content"] = $kVContent;
  56. }
  57. public function getkVContent()
  58. {
  59. return $this->kVContent;
  60. }
  61. public function setPcUrl($pcUrl)
  62. {
  63. $this->pcUrl = $pcUrl;
  64. $this->apiParas["pc_url"] = $pcUrl;
  65. }
  66. public function getPcUrl()
  67. {
  68. return $this->pcUrl;
  69. }
  70. public function setPhoneUrl($phoneUrl)
  71. {
  72. $this->phoneUrl = $phoneUrl;
  73. $this->apiParas["phone_url"] = $phoneUrl;
  74. }
  75. public function getPhoneUrl()
  76. {
  77. return $this->phoneUrl;
  78. }
  79. public function setRecordTimeStamp($recordTimeStamp)
  80. {
  81. $this->recordTimeStamp = $recordTimeStamp;
  82. $this->apiParas["record_time_stamp"] = $recordTimeStamp;
  83. }
  84. public function getRecordTimeStamp()
  85. {
  86. return $this->recordTimeStamp;
  87. }
  88. public function setTitle($title)
  89. {
  90. $this->title = $title;
  91. $this->apiParas["title"] = $title;
  92. }
  93. public function getTitle()
  94. {
  95. return $this->title;
  96. }
  97. public function setUserid($userid)
  98. {
  99. $this->userid = $userid;
  100. $this->apiParas["userid"] = $userid;
  101. }
  102. public function getUserid()
  103. {
  104. return $this->userid;
  105. }
  106. public function setWebUrl($webUrl)
  107. {
  108. $this->webUrl = $webUrl;
  109. $this->apiParas["web_url"] = $webUrl;
  110. }
  111. public function getWebUrl()
  112. {
  113. return $this->webUrl;
  114. }
  115. public function getApiMethodName()
  116. {
  117. return "dingtalk.corp.hrm.employee.addresumerecord";
  118. }
  119. public function getApiParas()
  120. {
  121. return $this->apiParas;
  122. }
  123. public function check()
  124. {
  125. }
  126. public function putOtherTextParam($key, $value) {
  127. $this->apiParas[$key] = $value;
  128. $this->$key = $value;
  129. }
  130. }