SendEmailByCustomeParamBean.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?php
  2. namespace Tool\ShanTaoTool\Bean\SendEmail;
  3. use Tool\ShanTaoTool\Bean\BaseBean;
  4. class SendEmailByCustomeParamBean extends BaseBean
  5. {
  6. /**
  7. * 邮件标题
  8. * @var string $title
  9. */
  10. private $title;
  11. /**
  12. * 邮件名称
  13. * @var $name string
  14. */
  15. private $name;
  16. /**
  17. * 接收的邮件地址
  18. * @var string $email
  19. */
  20. private $email;
  21. /**
  22. * 邮件内容
  23. * @var string $content
  24. */
  25. private $content;
  26. /**
  27. * 邮件服务器账号
  28. * @var string $serviceName
  29. */
  30. private $serviceName;
  31. /**
  32. * 邮件服务器密码
  33. * @var string $servicePassword
  34. */
  35. private $servicePassword;
  36. /**
  37. * @return string
  38. */
  39. public function getTitle(): string
  40. {
  41. return $this->title;
  42. }
  43. /**
  44. * @param string $title
  45. */
  46. public function setTitle(string $title)
  47. {
  48. $this->title = $title;
  49. }
  50. /**
  51. * @return string
  52. */
  53. public function getName(): string
  54. {
  55. return $this->name;
  56. }
  57. /**
  58. * @param string $name
  59. */
  60. public function setName(string $name)
  61. {
  62. $this->name = $name;
  63. }
  64. /**
  65. * @return string
  66. */
  67. public function getEmail(): string
  68. {
  69. return $this->email;
  70. }
  71. /**
  72. * @param string $email
  73. */
  74. public function setEmail(string $email)
  75. {
  76. $this->email = $email;
  77. }
  78. /**
  79. * @return string
  80. */
  81. public function getContent(): string
  82. {
  83. return $this->content;
  84. }
  85. /**
  86. * @param string $content
  87. */
  88. public function setContent(string $content)
  89. {
  90. $this->content = $content;
  91. }
  92. /**
  93. * @return string
  94. */
  95. public function getServiceName(): string
  96. {
  97. return $this->serviceName;
  98. }
  99. /**
  100. * @param string $serviceName
  101. */
  102. public function setServiceName(string $serviceName)
  103. {
  104. $this->serviceName = $serviceName;
  105. }
  106. /**
  107. * @return string
  108. */
  109. public function getServicePassword(): string
  110. {
  111. return $this->servicePassword;
  112. }
  113. /**
  114. * @param string $servicePassword
  115. */
  116. public function setServicePassword(string $servicePassword)
  117. {
  118. $this->servicePassword = $servicePassword;
  119. }
  120. }