📄 box.java
字号:
package com.ktv.entity;
import java.util.HashSet;
import java.util.Set;
public class Box implements java.io.Serializable {
// Fields
/**
*
*/
private static final long serialVersionUID = -6582055545401271576L;
private Integer boxId;
private String boxNumber;
private String boxType;
private Double boxUnitPrice;
private String boxStatus;
private String boxRemark;
private Set<History> history=new HashSet<History>();
/** default constructor */
public Box() {
}
/** full constructor */
public Box(String boxNumber, String boxType, Double boxUnitPrice, String boxStatus, String boxRemark) {
this.boxNumber = boxNumber;
this.boxType = boxType;
this.boxUnitPrice = boxUnitPrice;
this.boxStatus = boxStatus;
this.boxRemark = boxRemark;
}
// Property accessors
public Integer getBoxId() {
return this.boxId;
}
public void setBoxId(Integer boxId) {
this.boxId = boxId;
}
public String getBoxNumber() {
return this.boxNumber;
}
public void setBoxNumber(String boxNumber) {
this.boxNumber = boxNumber;
}
public String getBoxType() {
return this.boxType;
}
public void setBoxType(String boxType) {
this.boxType = boxType;
}
public Double getBoxUnitPrice() {
return this.boxUnitPrice;
}
public String getBoxStatus() {
return this.boxStatus;
}
public void setBoxStatus(String boxStatus) {
this.boxStatus = boxStatus;
}
public String getBoxRemark() {
return this.boxRemark;
}
public void setBoxRemark(String boxRemark) {
this.boxRemark = boxRemark;
}
public void setBoxUnitPrice(Double boxUnitPrice) {
this.boxUnitPrice = boxUnitPrice;
}
public Set<History> getHistory() {
return history;
}
public void setHistory(Set<History> history) {
this.history = history;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -