| | |
| | | package com.dsh.competition.model; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | |
| | | public class EditParticipant { |
| | | @ApiModelProperty(value = "数据id", dataType = "int", required = true) |
| | | private Integer id; |
| | | @ApiModelProperty(value = "身高(CM)", dataType = "int", required = true) |
| | | @ApiModelProperty(value = "身高(CM)", dataType = "int", required = false) |
| | | private Integer height; |
| | | @ApiModelProperty(value = "体重(KG)", dataType = "double", required = true) |
| | | @ApiModelProperty(value = "体重(KG)", dataType = "double", required = false) |
| | | private Double weight; |
| | | @ApiModelProperty(value = "联系电话", dataType = "string", required = false) |
| | | private String phone; |
| | | @ApiModelProperty(value = "姓名", dataType = "string", required = false) |
| | | private String name; |
| | | @ApiModelProperty(value = "生日", dataType = "string", required = false) |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date birthday; |
| | | @ApiModelProperty(value = "性别(1=男,2=女)", dataType = "int", required = false) |
| | | private Integer gender; |
| | | @ApiModelProperty(value = "身份证号码", dataType = "string", required = false) |
| | | private String idcard; |
| | | } |