一、数据库
Author表 (authorid主键) NewsInfo表(newsno主键) NewsType表(news_typeid主键)
二、实体类
package com.neusoft.po;
import java.util.List;
/**
* 作者类
* @author hyc
*
*/
public class Author {
private String authorid;//作者编号
private String authorname;//作者名
public Author() {
super();
}
public Author(String authorid, String authorname) {
super();
this.authorid = authorid;
this.authorname = authorname;
}
public String getAuthorid() {
return authorid;
}
public void setAuthorid(String authorid) {
this.authorid = authorid;
}
public String getAuthorname() {
return authorname