UserRealDto.java 1.7 KB

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