BaseUserInfoDto.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. package com.keao.edu.user.dto;
  2. import io.swagger.annotations.ApiModelProperty;
  3. /**
  4. * @Author Joburgess
  5. * @Date 2020.07.02
  6. */
  7. public class BaseUserInfoDto {
  8. /** 主键ID */
  9. private Integer id;
  10. @ApiModelProperty(value = "手机号",required = false)
  11. private String phone;
  12. /** 头像 */
  13. @ApiModelProperty(value = "头像",required = false)
  14. private String avatar;
  15. @ApiModelProperty(value = "真实姓名",required = false)
  16. private String realName;
  17. public BaseUserInfoDto() {
  18. }
  19. public BaseUserInfoDto(Integer id, String realName) {
  20. this.id = id;
  21. this.realName = realName;
  22. }
  23. public Integer getId() {
  24. return id;
  25. }
  26. public void setId(Integer id) {
  27. this.id = id;
  28. }
  29. public String getPhone() {
  30. return phone;
  31. }
  32. public void setPhone(String phone) {
  33. this.phone = phone;
  34. }
  35. public String getAvatar() {
  36. return avatar;
  37. }
  38. public void setAvatar(String avatar) {
  39. this.avatar = avatar;
  40. }
  41. public String getRealName() {
  42. return realName;
  43. }
  44. public void setRealName(String realName) {
  45. this.realName = realName;
  46. }
  47. }