Revert "refactor: flatten dto entity and mapper packages"
This reverts commit 29766ebd28.
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
package com.label.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* GET /api/auth/me 鍝嶅簲浣擄紝鍖呭惈褰撳墠鐧诲綍鐢ㄦ埛鐨勮缁嗕俊鎭€? */
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@Schema(description = "褰撳墠鐧诲綍鐢ㄦ埛淇℃伅")
|
||||
public class UserInfoResponse {
|
||||
@Schema(description = "鐢ㄦ埛涓婚敭")
|
||||
private Long id;
|
||||
@Schema(description = "鐢ㄦ埛鍚?)
|
||||
private String username;
|
||||
@Schema(description = "鐪熷疄濮撳悕")
|
||||
private String realName;
|
||||
@Schema(description = "瑙掕壊", example = "ADMIN")
|
||||
private String role;
|
||||
@Schema(description = "鎵€灞炲叕鍙?ID")
|
||||
private Long companyId;
|
||||
@Schema(description = "鎵€灞炲叕鍙稿悕绉?)
|
||||
private String companyName;
|
||||
}
|
||||
Reference in New Issue
Block a user