?? product.java
字號:
package org.langsin.computer.vo;
import java.util.HashSet;
import java.util.Set;
/**
* Product generated by MyEclipse - Hibernate Tools
*/
@SuppressWarnings("serial")
public class Product implements java.io.Serializable {
// Fields
private Integer productid;
private Repairplant repairplant;
private Customer customer;
private String productname;
private String errortype;
private Integer bookingprace;
private String remark;
private Set repairplants = new HashSet(0);
// Constructors
/** default constructor */
public Product() {
}
/** minimal constructor */
public Product(String productname, String errortype, Integer bookingprace, String remark) {
this.productname = productname;
this.errortype = errortype;
this.bookingprace = bookingprace;
this.remark = remark;
}
/** full constructor */
public Product(Repairplant repairplant, Customer customer, String productname, String errortype, Integer bookingprace, String remark, Set repairplants) {
this.repairplant = repairplant;
this.customer = customer;
this.productname = productname;
this.errortype = errortype;
this.bookingprace = bookingprace;
this.remark = remark;
this.repairplants = repairplants;
}
// Property accessors
public Integer getProductid() {
return this.productid;
}
public void setProductid(Integer productid) {
this.productid = productid;
}
public Repairplant getRepairplant() {
return this.repairplant;
}
public void setRepairplant(Repairplant repairplant) {
this.repairplant = repairplant;
}
public Customer getCustomer() {
return this.customer;
}
public void setCustomer(Customer customer) {
this.customer = customer;
}
public String getProductname() {
return this.productname;
}
public void setProductname(String productname) {
this.productname = productname;
}
public String getErrortype() {
return this.errortype;
}
public void setErrortype(String errortype) {
this.errortype = errortype;
}
public Integer getBookingprace() {
return this.bookingprace;
}
public void setBookingprace(Integer bookingprace) {
this.bookingprace = bookingprace;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Set getRepairplants() {
return this.repairplants;
}
public void setRepairplants(Set repairplants) {
this.repairplants = repairplants;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -