Skip to content

Commit

Permalink
refactor: Serializable 인터페이스 상속
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ503 committed Jul 23, 2024
1 parent 9d50854 commit fe1f273
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

import com.backend.blooming.authentication.application.dto.AdminInformationDto;

public record AdminInformationRequest(Long id, String name) {
import java.io.Serializable;

public record AdminInformationRequest(Long id, String name) implements Serializable {

public static AdminInformationRequest from(final AdminInformationDto adminInformation) {
return new AdminInformationRequest(adminInformation.id(), adminInformation.name());
Expand Down

0 comments on commit fe1f273

Please sign in to comment.