mirror of
https://github.com/headporter81/specialsource-homepage-backend.git
synced 2026-10-07 15:21:09 +09:00
8 lines
304 B
Java
8 lines
304 B
Java
package company.specialsource.scraper;
|
|
|
|
public record BoardSummaryResponse(String boardKey, String siteName, String boardName) {
|
|
public static BoardSummaryResponse from(BoardSource source) {
|
|
return new BoardSummaryResponse(source.name(), source.getSiteName(), source.getBoardName());
|
|
}
|
|
}
|