Revert "refactor: flatten dto entity and mapper packages"
This reverts commit 29766ebd28.
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
package com.label.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 鐧诲綍鎴愬姛鍝嶅簲浣撱€? */
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@Schema(description = "鐧诲綍鍝嶅簲")
|
||||
public class LoginResponse {
|
||||
/** Bearer Token锛圲UID v4锛夛紝鍚庣画璇锋眰鏀惧叆 Authorization 澶?*/
|
||||
@Schema(description = "Bearer Token", example = "550e8400-e29b-41d4-a716-446655440000")
|
||||
private String token;
|
||||
/** 鐢ㄦ埛涓婚敭 */
|
||||
@Schema(description = "鐢ㄦ埛涓婚敭")
|
||||
private Long userId;
|
||||
/** 鐧诲綍鐢ㄦ埛鍚?*/
|
||||
@Schema(description = "鐧诲綍鐢ㄦ埛鍚?)
|
||||
private String username;
|
||||
/** 瑙掕壊锛歎PLOADER / ANNOTATOR / REVIEWER / ADMIN */
|
||||
@Schema(description = "瑙掕壊", example = "ADMIN")
|
||||
private String role;
|
||||
/** Token 鏈夋晥鏈燂紙绉掞級 */
|
||||
@Schema(description = "Token 鏈夋晥鏈燂紙绉掞級", example = "7200")
|
||||
private Long expiresIn;
|
||||
}
|
||||
Reference in New Issue
Block a user