Step1: 添加Connector支持
finish->oK完成
Step2:新建Plugin-in Project
源码结构
Blog.Java
package api;
public class Blog { private String title; private String content; private String category; private int readCnt;
public Blog(){}
public Blog(String title, String content, String category, int readCnt) { super(); this.title = title; this.content = content; this.category = category; this.readCnt = readCnt; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public String getCategory() { return category; } public void setCategory(String category) { this.category = category; } public int getReadCnt() { return readCnt; } public void setReadCnt(int readCnt) { this.readCnt = readCnt; } |