AttachmentMapper.java

역할


1. 메서드

public static AttachmentResponse toResponse(AttachmentEntity a) {
    return new AttachmentResponse(
        a.getId(),
        a.getOriginalFilename(),
        a.getContentType(),
        a.getSizeBytes(),
        a.getStoragePath()
    );
}

2. 특징


3. 설명 포인트