📄 news.java
字号:
/*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -