book.java
来自「struts2使用实例代码,通过这些实例」· Java 代码 · 共 39 行
JAVA
39 行
package com.briup.pojo;
public class Book {
private Long id;
private String name;
private Double price;
public Book(){
}
public Book(Long id, String name, Double price) {
super();
this.id = id;
this.name = name;
this.price = price;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Double getPrice() {
return price;
}
public void setPrice(Double price) {
this.price = price;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?