Skip to content

Commit

Permalink
fix: fix the feign client dto
Browse files Browse the repository at this point in the history
  • Loading branch information
JIUNG9 committed Jan 23, 2024
1 parent d2bebb0 commit edb08cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@
@NoArgsConstructor
@Getter
public class CreateStoreMangerCommand {

@NotNull
private Long id;
@NotNull
private String email;
@NotNull
private String businessNumberImage;
@NotNull
private String businessNumber;
@NotNull
private String name;

}
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@

public class StoreManagerMessageMapper {

private StoreManagerMessageMapper(){


}

public static CreateStoreMangerCommand createStoreManagerCommandWithPk(StoreMangerSignUpCommand dto, Long id) {
return CreateStoreMangerCommand.builder().businessNumberImage(dto.getBusinessNumberImage()).email(
dto.getEmail()).name(dto.getName()).id(id).build();
dto.getEmail()).name(dto.getName()).id(id).businessNumber(dto.getBusinessNumber()).build();
}

public static StoreManagerLoginResponseWithNameAndStoreId createLoginResponse(String name,
Expand Down

0 comments on commit edb08cf

Please sign in to comment.