info.java
来自「适合学生课程设计使用,这是我自己编写的一个系统.」· Java 代码 · 共 67 行
JAVA
67 行
package bean;
/**
* @author Administrator
*/
public class info {
private String id; //所有信息的唯一标识
/**
* @uml.property name="name"
*/
private String name; //信息的名称
/**
* @uml.property name="description"
*/
private String description; //有关信息的细节或备注
public info() {}
/**
* @param id The id to set.
* @uml.property name="id"
*/
public void setId(String id) {
this.id = id;
}
/**
* @return Returns the id.
* @uml.property name="id"
*/
public String getId() {
return this.id;
}
/**
* @param name The name to set.
* @uml.property name="name"
*/
public void setName(String name) {
this.name = name;
}
/**
* @return Returns the name.
* @uml.property name="name"
*/
public String getName() {
return this.name;
}
/**
* @param description The description to set.
* @uml.property name="description"
*/
public void setDescription(String description) {
this.description = description;
}
/**
* @return Returns the description.
* @uml.property name="description"
*/
public String getDescription() {
return this.description;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?