You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
648 B
35 lines
648 B
package org.example.objects;
|
|
|
|
import org.example.models.Post;
|
|
import org.example.models.User;
|
|
|
|
import java.util.List;
|
|
|
|
public class SearchDTO {
|
|
private List<Post> posts;
|
|
private List<User> users;
|
|
|
|
public SearchDTO() {
|
|
}
|
|
|
|
public SearchDTO(List<Post> posts, List<User> users) {
|
|
this.posts = posts;
|
|
this.users = users;
|
|
}
|
|
|
|
public List<Post> getPosts() {
|
|
return posts;
|
|
}
|
|
|
|
public void setPosts(List<Post> posts) {
|
|
this.posts = posts;
|
|
}
|
|
|
|
public List<User> getUsers() {
|
|
return users;
|
|
}
|
|
|
|
public void setUsers(List<User> users) {
|
|
this.users = users;
|
|
}
|
|
}
|
|
|