Files
aida-seller/src/main/java/com/aida/seller/common/dto/LoginVO.java

32 lines
721 B
Java
Raw Normal View History

2026-04-21 10:25:39 +08:00
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;
}