package com.fs.app.param;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

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

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class FsUserEditParam implements Serializable {

    @NotNull(message = "用户昵称不能为空！")
    @JsonAlias({"nickname", "nickName"})
    private String nickname;

    //    @NotBlank(message = "用户头像不能为空！")
    private String avatar;

    private Long userId;
    private Integer isWeixinAuth;
}
