KKSU
2025-01-08 89384e54b9a4e5f7fc22a24c5d2ca2650549c297
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 cc.mrbird.febs.mall.dto;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.util.Date;
 
/**
 * @author wzy
 * @date 2021-09-24
 **/
@Data
@ApiModel(value = "ModifyMemberInfoDto", description = "修改用户信息参数接收类")
public class ModifyMemberInfoDto {
 
    @ApiModelProperty(value = "昵称", example = "123")
    private String name;
 
    @ApiModelProperty(value = "头像", example = "123")
    private String photo;
 
    @ApiModelProperty(value = "性别 男 女", example = "123")
    private String sex;
 
 
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "生日", example = "123")
    private Date birthday;
}