added image for post
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
package com.krylov.refound.dto;
|
||||
|
||||
import com.krylov.refound.entity.Image;
|
||||
import com.krylov.refound.enums.PostStatus;
|
||||
import com.krylov.refound.enums.PostType;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@@ -18,5 +20,7 @@ public class PostResponse {
|
||||
private PostStatus status;
|
||||
private LocalDateTime createdAt;
|
||||
private String userEmail;
|
||||
private String phone;
|
||||
private List<String> images;
|
||||
private boolean isFavorite;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user