UserRealDto.java 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. package com.qxgmat.dto.response;
  2. import com.nuliji.tools.annotation.Dto;
  3. import com.qxgmat.data.dao.entity.User;
  4. import io.swagger.annotations.ApiModelProperty;
  5. /**
  6. * Created by GaoJie on 2017/11/1.
  7. */
  8. @Dto(entity = User.class)
  9. public class UserRealDto {
  10. @ApiModelProperty(value = "身份证号", required = true)
  11. private String identity;
  12. @ApiModelProperty(value = "真实姓名", required = true)
  13. private String name = "";
  14. @ApiModelProperty(value = "地址", required = true)
  15. private String address = "";
  16. @ApiModelProperty(value = "身份照片-正面", required = true)
  17. private String photoFront = "";
  18. @ApiModelProperty(value = "身份照片-反面", required = true)
  19. private String photoBack = "";
  20. public String getIdentity() {
  21. return identity;
  22. }
  23. public void setIdentity(String identity) {
  24. this.identity = identity;
  25. }
  26. public String getName() {
  27. return name;
  28. }
  29. public void setName(String name) {
  30. this.name = name;
  31. }
  32. public String getAddress() {
  33. return address;
  34. }
  35. public void setAddress(String address) {
  36. this.address = address;
  37. }
  38. public String getPhotoFront() {
  39. return photoFront;
  40. }
  41. public void setPhotoFront(String photoFront) {
  42. this.photoFront = photoFront;
  43. }
  44. public String getPhotoBack() {
  45. return photoBack;
  46. }
  47. public void setPhotoBack(String photoBack) {
  48. this.photoBack = photoBack;
  49. }
  50. }