MaTechnician.java 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. package com.ylx.massage.domain;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. import org.apache.commons.lang3.builder.ToStringStyle;
  4. import com.ylx.common.annotation.Excel;
  5. import com.ylx.common.core.domain.BaseEntity;
  6. /**
  7. * 技师对象 ma_technician
  8. *
  9. * @author ylx
  10. * @date 2024-03-22
  11. */
  12. public class MaTechnician extends BaseEntity
  13. {
  14. private static final long serialVersionUID = 1L;
  15. /** id */
  16. private Long id;
  17. /** 姓名 */
  18. @Excel(name = "姓名")
  19. private String teName;
  20. /** 性别(0女1男) */
  21. @Excel(name = "性别(0女1男)")
  22. private Long teSex;
  23. /** 电话 */
  24. @Excel(name = "电话")
  25. private String tePhone;
  26. /** 地址 */
  27. @Excel(name = "地址")
  28. private String teAddress;
  29. /** 年龄 */
  30. @Excel(name = "年龄")
  31. private Long teAge;
  32. /** 头像 */
  33. @Excel(name = "头像")
  34. private String teAvatar;
  35. /** 生活照 */
  36. @Excel(name = "生活照")
  37. private String lifePhotos;
  38. /** 简介 */
  39. @Excel(name = "简介")
  40. private String teBrief;
  41. /** 服务状态(0服务中,1可服务) */
  42. @Excel(name = "服务状态(0服务中,1可服务)")
  43. private Long serviceState;
  44. /** 是否在岗(0否1是) */
  45. @Excel(name = "是否在岗(0否1是)")
  46. private Long postState;
  47. /** 是否启用(0否1是) */
  48. @Excel(name = "是否启用(0否1是)")
  49. private Long teIsEnable;
  50. /** 创建人 */
  51. @Excel(name = "创建人")
  52. private Long createUser;
  53. /** 修改人 */
  54. @Excel(name = "修改人")
  55. private Long updateUser;
  56. /** 是否删除(0否1是) */
  57. @Excel(name = "是否删除(0否1是)")
  58. private Long isDelete;
  59. public void setId(Long id)
  60. {
  61. this.id = id;
  62. }
  63. public Long getId()
  64. {
  65. return id;
  66. }
  67. public void setTeName(String teName)
  68. {
  69. this.teName = teName;
  70. }
  71. public String getTeName()
  72. {
  73. return teName;
  74. }
  75. public void setTeSex(Long teSex)
  76. {
  77. this.teSex = teSex;
  78. }
  79. public Long getTeSex()
  80. {
  81. return teSex;
  82. }
  83. public void setTePhone(String tePhone)
  84. {
  85. this.tePhone = tePhone;
  86. }
  87. public String getTePhone()
  88. {
  89. return tePhone;
  90. }
  91. public void setTeAddress(String teAddress)
  92. {
  93. this.teAddress = teAddress;
  94. }
  95. public String getTeAddress()
  96. {
  97. return teAddress;
  98. }
  99. public void setTeAge(Long teAge)
  100. {
  101. this.teAge = teAge;
  102. }
  103. public Long getTeAge()
  104. {
  105. return teAge;
  106. }
  107. public void setTeAvatar(String teAvatar)
  108. {
  109. this.teAvatar = teAvatar;
  110. }
  111. public String getTeAvatar()
  112. {
  113. return teAvatar;
  114. }
  115. public void setLifePhotos(String lifePhotos)
  116. {
  117. this.lifePhotos = lifePhotos;
  118. }
  119. public String getLifePhotos()
  120. {
  121. return lifePhotos;
  122. }
  123. public void setTeBrief(String teBrief)
  124. {
  125. this.teBrief = teBrief;
  126. }
  127. public String getTeBrief()
  128. {
  129. return teBrief;
  130. }
  131. public void setServiceState(Long serviceState)
  132. {
  133. this.serviceState = serviceState;
  134. }
  135. public Long getServiceState()
  136. {
  137. return serviceState;
  138. }
  139. public void setPostState(Long postState)
  140. {
  141. this.postState = postState;
  142. }
  143. public Long getPostState()
  144. {
  145. return postState;
  146. }
  147. public void setTeIsEnable(Long teIsEnable)
  148. {
  149. this.teIsEnable = teIsEnable;
  150. }
  151. public Long getTeIsEnable()
  152. {
  153. return teIsEnable;
  154. }
  155. public void setCreateUser(Long createUser)
  156. {
  157. this.createUser = createUser;
  158. }
  159. public Long getCreateUser()
  160. {
  161. return createUser;
  162. }
  163. public void setUpdateUser(Long updateUser)
  164. {
  165. this.updateUser = updateUser;
  166. }
  167. public Long getUpdateUser()
  168. {
  169. return updateUser;
  170. }
  171. public void setIsDelete(Long isDelete)
  172. {
  173. this.isDelete = isDelete;
  174. }
  175. public Long getIsDelete()
  176. {
  177. return isDelete;
  178. }
  179. @Override
  180. public String toString() {
  181. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  182. .append("id", getId())
  183. .append("teName", getTeName())
  184. .append("teSex", getTeSex())
  185. .append("tePhone", getTePhone())
  186. .append("teAddress", getTeAddress())
  187. .append("teAge", getTeAge())
  188. .append("teAvatar", getTeAvatar())
  189. .append("lifePhotos", getLifePhotos())
  190. .append("teBrief", getTeBrief())
  191. .append("serviceState", getServiceState())
  192. .append("postState", getPostState())
  193. .append("teIsEnable", getTeIsEnable())
  194. .append("createUser", getCreateUser())
  195. .append("updateUser", getUpdateUser())
  196. .append("createTime", getCreateTime())
  197. .append("updateTime", getUpdateTime())
  198. .append("isDelete", getIsDelete())
  199. .toString();
  200. }
  201. }