longz
2026-04-21 c4db0a4526f61758272c92396aa788d84f098102
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.sinata.appointment.dto;
 
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.List;
import lombok.Builder;
import lombok.Data;
 
@Data
@Builder
@Schema(description = "登录响应")
public class LoginResponse {
 
    @Schema(description = "Sa-Token token")
    private String token;
 
    @Schema(description = "用户 id")
    private Long userId;
 
    @Schema(description = "显示名")
    private String displayName;
 
    @Schema(description = "角色编码列表")
    private List<String> roles;
 
    @Schema(description = "权限编码列表")
    private List<String> permissions;
 
    @Schema(description = "头像 URL")
    private String avatarUrl;
}