Class PostResponse
- java.lang.Object
-
- org.springframework.hateoas.RepresentationModel<org.springframework.hateoas.EntityModel<T>>
-
- org.springframework.hateoas.EntityModel<PostDetailDto>
-
- com.restapi.template.api.community.post.response.PostResponse
-
public class PostResponse extends org.springframework.hateoas.EntityModel<PostDetailDto>
게시글 상세 응답.- Version:
- 1.0
- Author:
- always0ne
-
-
Constructor Summary
Constructors Constructor Description PostResponse(PostDetailDto post, java.lang.Long postId, org.springframework.hateoas.Link... links)게시글 상세 응답.
-
Method Summary
-
Methods inherited from class org.springframework.hateoas.EntityModel
equals, getContent, hashCode, toString
-
-
-
-
Constructor Detail
-
PostResponse
public PostResponse(PostDetailDto post, java.lang.Long postId, org.springframework.hateoas.Link... links)
게시글 상세 응답. self Link, APIDocs Link- Parameters:
post- 게시글 데이터postId- 게시글 IDlinks- 추가 링크
-
-