longz
2026-04-28 bfa7d3b23e526809b04299d9c2719c3449aba3be
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
31
32
33
34
35
36
37
38
package com.sinata.appointment.dto;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
 
@Data
@Builder
@Schema(description = "小程序登录响应(token 与后台 Authorization 同属请求头名,但为不同体系签发)")
public class MiniLoginResponse {
 
    @Schema(description = "Sa-Token,请求头 Authorization 携带")
    private String token;
 
    @Schema(description = "小程序用户 id")
    private Long mpUserId;
 
    @Schema(description = "VISITOR / EMPLOYEE")
    private String userType;
 
    @Schema(description = "员工所属部门 id,访客为 null")
    private Long deptId;
 
    @Schema(description = "员工所属部门名称,访客为 null")
    private String deptName;
 
    @Schema(description = "是否部门负责人,访客为 null")
    private Boolean deptLeader;
 
    @Schema(description = "头像 URL")
    private String avatarUrl;
 
    @Schema(description = "访客所属公司")
    private String companyName;
 
    @Schema(description = "展示名")
    private String displayName;
}