32 lines
721 B
Java
32 lines
721 B
Java
|
|
package com.aida.seller.common.dto;
|
||
|
|
|
||
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||
|
|
import lombok.AllArgsConstructor;
|
||
|
|
import lombok.Data;
|
||
|
|
import lombok.NoArgsConstructor;
|
||
|
|
|
||
|
|
@Data
|
||
|
|
@NoArgsConstructor
|
||
|
|
@AllArgsConstructor
|
||
|
|
@Schema(description = "登录响应")
|
||
|
|
public class LoginVO {
|
||
|
|
|
||
|
|
@Schema(description = "访问令牌")
|
||
|
|
private String accessToken;
|
||
|
|
|
||
|
|
@Schema(description = "令牌类型")
|
||
|
|
private String tokenType = "Bearer";
|
||
|
|
|
||
|
|
@Schema(description = "用户ID")
|
||
|
|
private Long userId;
|
||
|
|
|
||
|
|
@Schema(description = "用户名")
|
||
|
|
private String username;
|
||
|
|
|
||
|
|
@Schema(description = "商家ID")
|
||
|
|
private Long sellerId;
|
||
|
|
|
||
|
|
@Schema(description = "过期时间(毫秒)")
|
||
|
|
private Long expiresIn;
|
||
|
|
}
|