news.java
来自「新闻发布系统」· Java 代码 · 共 99 行
JAVA
99 行
/*
* News.java
*
* Created on 2007年3月18日, 下午5:45
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package News.Common;
/**
*
* @author Owner
*/
public class News implements java.io.Serializable{
private String id;
private String title;
private String author;
private String modifyTime;
private String content;
private String catalogName;
private int parentId;
public void setParentId(int i)
{
parentId=i;
}
public int getParentId()
{
return parentId;
}
public void setId(String s)
{
id=s;
}
public String getId()
{
return id;
}
public void setTitle(String s)
{
title=s;
}
public String getTitle()
{
return title;
}
public void setAuthor(String s)
{
author=s;
}
public String getAuthor()
{
return author;
}
public void setModifyTime(String s)
{
modifyTime=s;
}
public String getModifyTime()
{
return modifyTime;
}
public void setContent(String s)
{
content=s;
}
public String getContent()
{
return content;
}
public void setCatalogName(String s)
{
catalogName=s;
}
public String getCatalogName()
{
return catalogName;
}
/** Creates a new instance of News */
public News() {
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?