puzhibing
2024-03-12 7cd3dea07f5b7cefad9dea9fd7daf992449aaac8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.dsh.competition.model;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.util.Date;
 
/**
 * @author zhibing.pu
 * @date 2023/7/7 9:44
 */
@Data
@ApiModel
public class AddParticipant {
    @ApiModelProperty(value = "姓名", dataType = "string", required = true)
    private String name;
    @ApiModelProperty(value = "头像", dataType = "string", required = true)
    private String headImg;
    @ApiModelProperty(value = "生日", dataType = "string", required = true)
    private String birthday;
    @ApiModelProperty(value = "性别(1=男,2=女)", dataType = "int", required = true)
    private Integer gender;
    @ApiModelProperty(value = "身高(CM)", dataType = "int", required = true)
    private String height;
    @ApiModelProperty(value = "体重(KG)", dataType = "double", required = true)
    private Double weight;
    @ApiModelProperty(value = "联系电话", dataType = "string", required = false)
    private String phone;
    @ApiModelProperty(value = "身份证号码", dataType = "string", required = false)
    private String idcard;
}