com.tinypass.client.publisher.model.UserNote Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class UserNote {
/* The note ID */
private String userNoteId = null;
/* The user */
private User user = null;
/* The note content */
private String content = null;
/* The note type */
private String type = null;
//public enum typeEnum { text, };
/* The creation date */
private String createDate = null;
/* The user who created the object */
private User createBy = null;
/* The update date */
private String updateDate = null;
/* The last user to update the object */
private User updateBy = null;
/* Prevent editing or deleting */
private Boolean readonly = null;
public String getUserNoteId() {
return userNoteId;
}
public void setUserNoteId(String userNoteId) {
this.userNoteId = userNoteId;
}
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getCreateDate() {
return createDate;
}
public void setCreateDate(String createDate) {
this.createDate = createDate;
}
public User getCreateBy() {
return createBy;
}
public void setCreateBy(User createBy) {
this.createBy = createBy;
}
public String getUpdateDate() {
return updateDate;
}
public void setUpdateDate(String updateDate) {
this.updateDate = updateDate;
}
public User getUpdateBy() {
return updateBy;
}
public void setUpdateBy(User updateBy) {
this.updateBy = updateBy;
}
public Boolean getReadonly() {
return readonly;
}
public void setReadonly(Boolean readonly) {
this.readonly = readonly;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserNote {\n");
sb.append(" userNoteId: ").append(userNoteId).append("\n");
sb.append(" user: ").append(user).append("\n");
sb.append(" content: ").append(content).append("\n");
sb.append(" type: ").append(type).append("\n");
sb.append(" createDate: ").append(createDate).append("\n");
sb.append(" createBy: ").append(createBy).append("\n");
sb.append(" updateDate: ").append(updateDate).append("\n");
sb.append(" updateBy: ").append(updateBy).append("\n");
sb.append(" readonly: ").append(readonly).append("\n");
sb.append("}\n");
return sb.toString();
}
}