computer.java
来自「软件设计课做的一个类似Hibernate的O/R Mapping的框架」· Java 代码 · 共 57 行
JAVA
57 行
package cn.edu.nju.software.sd.torm.test.beans;
import java.util.*;
public class Computer {
private int id;
private boolean repaired;
private float price;
private String brand;
private Date produceDate;
public String getBrand() {
return brand;
}
public void setBrand(String brand) {
this.brand = brand;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public float getPrice() {
return price;
}
public void setPrice(float price) {
this.price = price;
}
public java.util.Date getProduceDate() {
return produceDate;
}
public void setProduceDate(java.util.Date produceDate) {
this.produceDate = produceDate;
}
public boolean getRepaired() {
return repaired;
}
public void setRepaired(boolean repaired) {
this.repaired = repaired;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?