Spaces:
Sleeping
Sleeping
File size: 617 Bytes
bb5169d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
package com.krishna.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.UUID;
public class CommentDTO {
@JsonProperty("userId")
private UUID userId;
@JsonProperty("postId")
private Long postId;
private String content;
public UUID getUserId() { return userId; }
public void setUserId(UUID userId) { this.userId = userId; }
public Long getPostId() { return postId; }
public void setPostId(Long postId) { this.postId = postId; }
public String getContent() { return content; }
public void setContent(String content) { this.content = content; }
}
|