commit
This commit is contained in:
1 parent
ff67f31cf3
commit
cc068fc3a8
26 files changed
+104
-519
No files matched your search
@@ -1,24 +0,0 @@
|
||||
package site.easystartup.web.post.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class PostDto implements Serializable {
|
||||
private long id;
|
||||
@Size(min = 3, max = 1024, message = "Text should be no less 3 and no more 1024 signs")
|
||||
@NotNull
|
||||
private String text;
|
||||
private String sender;
|
||||
private Date date;
|
||||
private boolean edited;
|
||||
private List<String> liked_users;
|
||||
private long like;
|
||||
private List<Long> answers;
|
||||
private long answered_post;
|
||||
}
|
||||
Reference in new issue
Block a user