package com.matrix.system.app.dto; import com.fasterxml.jackson.annotation.JsonFormat; import com.matrix.core.tools.DateUtil; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import java.util.Date; import java.util.List; /** * @author wzy * @date 2020-12-22 **/ @ApiModel(value = "ModifyVipDto", description = "修改会员接收参数类") public class ModifyVipDto { @NotNull(message = "参数错误") @ApiModelProperty(value = "会员ID") private Long vipId; @NotBlank(message = "姓名不能为空") @ApiModelProperty(value = "会员姓名") private String vipName; @NotBlank(message = "手机号不能为空") @ApiModelProperty(value = "手机号") private String phone; @NotBlank(message = "性别不能为空") @ApiModelProperty(value = "性别", example = "男/女") private String sex; @NotNull(message = "生日不能为空") @ApiModelProperty(value = "生日") @JsonFormat(pattern = DateUtil.DATE_FORMAT_DD, timezone = "GMT+8") private Date birthday; @ApiModelProperty(value = "省市区", example = "湖南省,长沙市,岳麓区") private String areas; @ApiModelProperty(value = "详细地址") private String address; @ApiModelProperty(value = "到店途径", example = "网络团购") private String arrivalWay; @ApiModelProperty(value = "推荐人ID") private Long recommendId; @ApiModelProperty(value = "备注") private String remark; @ApiModelProperty(value = "标签列表") private List labels; public Long getVipId() { return vipId; } public void setVipId(Long vipId) { this.vipId = vipId; } public String getVipName() { return vipName; } public void setVipName(String vipName) { this.vipName = vipName; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } 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 getAreas() { return areas; } public void setAreas(String areas) { this.areas = areas; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public String getArrivalWay() { return arrivalWay; } public void setArrivalWay(String arrivalWay) { this.arrivalWay = arrivalWay; } public Long getRecommendId() { return recommendId; } public void setRecommendId(Long recommendId) { this.recommendId = recommendId; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } public List getLabels() { return labels; } public void setLabels(List labels) { this.labels = labels; } }