org.wallride.model.CommentCreateRequest Maven / Gradle / Ivy
/*
* Copyright 2014 Tagbangers, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.wallride.model;
import org.wallride.domain.BlogLanguage;
import java.io.Serializable;
import java.time.LocalDateTime;
public class CommentCreateRequest implements Serializable {
private BlogLanguage blogLanguage;
private long postId;
private long authorId;
private LocalDateTime date;
private String content;
private boolean approved;
public BlogLanguage getBlogLanguage() {
return blogLanguage;
}
public void setBlogLanguage(BlogLanguage blogLanguage) {
this.blogLanguage = blogLanguage;
}
public long getPostId() {
return postId;
}
public void setPostId(long postId) {
this.postId = postId;
}
public long getAuthorId() {
return authorId;
}
public void setAuthorId(long authorId) {
this.authorId = authorId;
}
public LocalDateTime getDate() {
return date;
}
public void setDate(LocalDateTime date) {
this.date = date;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public boolean isApproved() {
return approved;
}
public void setApproved(boolean approved) {
this.approved = approved;
}
}