package com.ruoyi.wgz.bo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("务工者APP-修改头像请求对象")
public class WgzAppModifyingUserProfilePictureReq implements Serializable {
	@ApiModelProperty("唯一标识")
	@NotNull(message = "唯一标识不能为空")
	private Long userId;

	@ApiModelProperty("头像地址")
	@NotBlank(message = "头像地址不能为空")
	private String avatarName;
}
