1
This commit is contained in:
31
src/main/java/com/aida/seller/common/dto/LoginVO.java
Normal file
31
src/main/java/com/aida/seller/common/dto/LoginVO.java
Normal file
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user