package com.wecloud.im.param;

import io.geekidea.springbootplus.framework.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @Author wenzhida
 * @Date 2022/3/2 18:11
 * @Description 登出操作入参
 */
@Data
@ApiModel(value = "登出操作入参")
public class LogoutParam extends BaseEntity {

    private static final long serialVersionUID = -2718673661281424767L;

    /**
     * 设备类型
     * @see com.wecloud.im.enums.DeviceTypeEnum
     */
    @ApiModelProperty("设备类型 1:ios; 2:android; 3:web; 4:win; 5:mac")
    @NotNull(message = "设备类型不能为空")
    private Integer deviceType;

    @ApiModelProperty("唯一设备id")
    private String uniqueDeviceId;
}
