Skip to content

Commit

Permalink
#1 - Feat: Add User VOs, Error Constant
Browse files Browse the repository at this point in the history
  • Loading branch information
umtuk committed Jul 15, 2023
1 parent 438d66d commit 532de85
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package org.routemaster.api.auth.domain.user.impl.exception;

public class UserErrorCode {

/**
* <p>ROE_100</p>
* Passing invalid parameters when requesting user domains
*/
public static final String ROE_100 = "ROE_100";

/**
* <p>ROE_101</p>
* When user-related entity cannot be found
*/
public static final String ROE_101 = "ROE_101";

/**
* <p>ROE_102</p>
* Incorrect security related to the user's domain
*/
public static final String ROE_102 = "ROE_102";
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package org.routemaster.api.auth.endpoint.user.info.profile.impl.vo.response;

import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Getter
public class UserNicknameListResponse {

private List<UserNicknameResponse> nicknames;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package org.routemaster.api.auth.endpoint.user.info.profile.impl.vo.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Getter
public class UserNicknameResponse {

private String id;
private String baseUserId;
private String nickname;
}

0 comments on commit 532de85

Please sign in to comment.