package com.yonge.cooleshow.biz.dal.wrapper;

import com.yonge.cooleshow.biz.dal.enums.ClientEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.time.LocalDate;

public class UserInfoWrapper {


    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @ApiModel("用户信息更新")
    public static class UpdateUser implements Serializable {

        @ApiModelProperty("IM设备ID")
        @NotBlank(message = "IM设备ID不能为空")
        private String imDeviceId;


        @ApiModelProperty("用户ID")
        private Integer userId;

        @ApiModelProperty("用户类型")
        private ClientEnum client;

    }
}
