init
This commit is contained in:
@@ -0,0 +1,107 @@
|
||||
package com.cyynote.model;
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
import org.noear.wood.annotation.PrimaryKey;
|
||||
import org.noear.wood.annotation.Table;
|
||||
|
||||
@Data
|
||||
@Table("note")
|
||||
public class NoteModel {
|
||||
@PrimaryKey
|
||||
public Integer id;
|
||||
|
||||
public Integer pid;
|
||||
|
||||
public String title;
|
||||
|
||||
public String context;
|
||||
|
||||
public String conjson;
|
||||
|
||||
public String createtime;
|
||||
|
||||
public String updatetime;
|
||||
|
||||
public String viewtime;
|
||||
|
||||
public Integer flag;
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public void setPid(Integer pid) {
|
||||
this.pid = pid;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public void setContext(String context) {
|
||||
this.context = context;
|
||||
}
|
||||
|
||||
public void setConjson(String conjson) {
|
||||
this.conjson = conjson;
|
||||
}
|
||||
|
||||
public void setCreatetime(String createtime) {
|
||||
this.createtime = createtime;
|
||||
}
|
||||
|
||||
public void setUpdatetime(String updatetime) {
|
||||
this.updatetime = updatetime;
|
||||
}
|
||||
|
||||
public void setViewtime(String viewtime) {
|
||||
this.viewtime = viewtime;
|
||||
}
|
||||
|
||||
public void setFlag(Integer flag) {
|
||||
this.flag = flag;
|
||||
}
|
||||
|
||||
|
||||
public String toString() {
|
||||
return "NoteModel(id=" + getId() + ", pid=" + getPid() + ", title=" + getTitle() + ", context=" + getContext() + ", conjson=" + getConjson() + ", createtime=" + getCreatetime() + ", updatetime=" + getUpdatetime() + ", viewtime=" + getViewtime() + ", flag=" + getFlag() + ")";
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public Integer getPid() {
|
||||
return this.pid;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public String getContext() {
|
||||
return this.context;
|
||||
}
|
||||
|
||||
public String getConjson() {
|
||||
return this.conjson;
|
||||
}
|
||||
|
||||
public String getCreatetime() {
|
||||
return this.createtime;
|
||||
}
|
||||
|
||||
public String getUpdatetime() {
|
||||
return this.updatetime;
|
||||
}
|
||||
|
||||
public String getViewtime() {
|
||||
return this.viewtime;
|
||||
}
|
||||
|
||||
public Integer getFlag() {
|
||||
return this.flag;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user