diff --git a/src/main/java/com/bit/lot/flower/auth/store/dto/CreateStoreMangerCommand.java b/src/main/java/com/bit/lot/flower/auth/store/dto/CreateStoreMangerCommand.java index 7b25143..fb25caf 100644 --- a/src/main/java/com/bit/lot/flower/auth/store/dto/CreateStoreMangerCommand.java +++ b/src/main/java/com/bit/lot/flower/auth/store/dto/CreateStoreMangerCommand.java @@ -12,6 +12,7 @@ @NoArgsConstructor @Getter public class CreateStoreMangerCommand { + @NotNull private Long id; @NotNull @@ -19,6 +20,8 @@ public class CreateStoreMangerCommand { @NotNull private String businessNumberImage; @NotNull + private String businessNumber; + @NotNull private String name; } diff --git a/src/main/java/com/bit/lot/flower/auth/store/mapper/StoreManagerMessageMapper.java b/src/main/java/com/bit/lot/flower/auth/store/mapper/StoreManagerMessageMapper.java index 9266421..7bae69a 100644 --- a/src/main/java/com/bit/lot/flower/auth/store/mapper/StoreManagerMessageMapper.java +++ b/src/main/java/com/bit/lot/flower/auth/store/mapper/StoreManagerMessageMapper.java @@ -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,