package com.matrix.system.app.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import javax.validation.constraints.NotBlank;
|
import java.util.Date;
|
|
/**
|
* @author wzy
|
* @date 2021-01-06
|
**/
|
@ApiModel(value = "ModifyUserDto", description = "编辑用户信息接口参数接收类")
|
public class ModifyUserDto {
|
|
@ApiModelProperty(value = "头像")
|
private String photo;
|
|
@NotBlank(message = "参数错误")
|
@ApiModelProperty(value = "姓名")
|
private String name;
|
|
@ApiModelProperty(value = "英文名")
|
private String engName;
|
|
@NotBlank(message = "参数错误")
|
@ApiModelProperty(value = "手机号")
|
private String telphone;
|
|
@ApiModelProperty(value = "性别")
|
private String sex;
|
|
@ApiModelProperty(value = "生日")
|
private Date birthday;
|
|
@ApiModelProperty(value = "邮箱")
|
private String email;
|
|
@ApiModelProperty(value = "服务签名")
|
private String serviceSign;
|
|
@ApiModelProperty(value = "地址")
|
private String address;
|
|
public String getPhoto() {
|
return photo;
|
}
|
|
public void setPhoto(String photo) {
|
this.photo = photo;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getEngName() {
|
return engName;
|
}
|
|
public void setEngName(String engName) {
|
this.engName = engName;
|
}
|
|
public String getTelphone() {
|
return telphone;
|
}
|
|
public void setTelphone(String telphone) {
|
this.telphone = telphone;
|
}
|
|
public String getSex() {
|
return sex;
|
}
|
|
public void setSex(String sex) {
|
this.sex = sex;
|
}
|
|
public Date getBirthday() {
|
return birthday;
|
}
|
|
public void setBirthday(Date birthday) {
|
this.birthday = birthday;
|
}
|
|
public String getEmail() {
|
return email;
|
}
|
|
public void setEmail(String email) {
|
this.email = email;
|
}
|
|
public String getServiceSign() {
|
return serviceSign;
|
}
|
|
public void setServiceSign(String serviceSign) {
|
this.serviceSign = serviceSign;
|
}
|
|
public String getAddress() {
|
return address;
|
}
|
|
public void setAddress(String address) {
|
this.address = address;
|
}
|
}
|