note.java
来自「本光盘包含了本书各章中出现的所有程序的源代码。 1. 如果是Java程序」· Java 代码 · 共 43 行
JAVA
43 行
package com.domain;
import java.sql.Timestamp;
public class Note {
private int id;
private String title;
private String content;
private String author;
private Timestamp createTime;
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public Timestamp getCreateTime() {
return createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?