main
|
Last change
on this file was 700e2f9, checked in by 186079 <matej.milevski@…>, 5 days ago |
|
Init
|
-
Property mode
set to
100644
|
|
File size:
611 bytes
|
| Rev | Line | |
|---|
| [700e2f9] | 1 | package com.finki.icare.dto;
|
|---|
| 2 |
|
|---|
| 3 | import lombok.AllArgsConstructor;
|
|---|
| 4 | import lombok.Data;
|
|---|
| 5 | import lombok.NoArgsConstructor;
|
|---|
| 6 |
|
|---|
| 7 | import java.time.OffsetDateTime;
|
|---|
| 8 | import java.util.List;
|
|---|
| 9 |
|
|---|
| 10 | @Data
|
|---|
| 11 | @NoArgsConstructor
|
|---|
| 12 | @AllArgsConstructor
|
|---|
| 13 | public class BlogDTO {
|
|---|
| 14 | private Integer idBlog;
|
|---|
| 15 | private String title;
|
|---|
| 16 | private String content;
|
|---|
| 17 | private OffsetDateTime dateOfPost;
|
|---|
| 18 | private Integer patientId;
|
|---|
| 19 | private String patientUsername;
|
|---|
| 20 | private String patientName;
|
|---|
| 21 | private Integer likesCount;
|
|---|
| 22 | private Integer commentsCount;
|
|---|
| 23 | private boolean likedByCurrentUser;
|
|---|
| 24 | private List<CommentDTO> comments;
|
|---|
| 25 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.