InquiryQuotePatientVO.java 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. package com.diagbot.vo;
  2. import io.swagger.annotations.ApiModel;
  3. import io.swagger.annotations.ApiModelProperty;
  4. import lombok.Getter;
  5. import lombok.Setter;
  6. import org.springframework.format.annotation.DateTimeFormat;
  7. import javax.validation.constraints.NotBlank;
  8. import java.util.Date;
  9. /**
  10. * @Description:
  11. * @author: rengb
  12. * @time: 2018/11/19 18:58
  13. */
  14. @ApiModel(value = "病历引用接口传参-患者信息")
  15. @Getter
  16. @Setter
  17. public class InquiryQuotePatientVO {
  18. /**
  19. * id
  20. */
  21. private Long id;
  22. /**
  23. * 患者编号
  24. */
  25. @ApiModelProperty(value = "患者编号", required = true)
  26. @NotBlank(message = "患者编号必传")
  27. private String code;
  28. /**
  29. * 患者姓名
  30. */
  31. @ApiModelProperty(value = "患者姓名", required = true)
  32. @NotBlank(message = "患者姓名必传")
  33. private String name;
  34. /**
  35. * 性别,0-未知、1-男、2-女
  36. */
  37. @ApiModelProperty(value = "性别,0-未知、1-男、2-女")
  38. private Integer sex;
  39. /**
  40. * 出生日期,格式为:2018-11-28 17:25:30
  41. */
  42. @ApiModelProperty(value = "出生日期,格式为:2018-11-28 17:25:30")
  43. @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  44. private Date birthday;
  45. /**
  46. * 证件类型
  47. */
  48. @ApiModelProperty(value = "证件类型")
  49. private String idType;
  50. /**
  51. * 证件号码
  52. */
  53. @ApiModelProperty(value = "证件号码", required = true)
  54. @NotBlank(message = "证件号码必传")
  55. private String idNo;
  56. /**
  57. * 家庭住址
  58. */
  59. @ApiModelProperty(value = "家庭住址")
  60. private String address;
  61. /**
  62. * 联系电话
  63. */
  64. @ApiModelProperty(value = "联系电话")
  65. private String phone;
  66. /**
  67. * 身份证号
  68. */
  69. @ApiModelProperty(value = "身份证号", required = true)
  70. @NotBlank(message = "身份证号必传")
  71. private String identityNum;
  72. /**
  73. * 家庭邮编
  74. */
  75. @ApiModelProperty(value = "家庭邮编")
  76. private String postcode;
  77. /**
  78. * 联系人
  79. */
  80. @ApiModelProperty(value = "联系人")
  81. private String contacts;
  82. /**
  83. * 联系人电话
  84. */
  85. @ApiModelProperty(value = "联系人电话")
  86. private String contactPhone;
  87. /**
  88. * 就职单位名称
  89. */
  90. @ApiModelProperty(value = "就职单位名称")
  91. private String workUnit;
  92. /**
  93. * 职业
  94. */
  95. @ApiModelProperty(value = "职业")
  96. private String operation;
  97. /**
  98. * 国籍
  99. */
  100. @ApiModelProperty(value = "国籍")
  101. private String country;
  102. /**
  103. * 民族
  104. */
  105. @ApiModelProperty(value = "民族")
  106. private String nationality;
  107. /**
  108. * 婚姻状况:0未婚,1已婚,2未知
  109. */
  110. @ApiModelProperty(value = "婚姻状况:0未婚,1已婚,2未知")
  111. private Integer matrimony;
  112. }