box.java

来自「ktv点歌系统前台收银有开包房」· Java 代码 · 共 100 行

JAVA
100
字号
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 + =
减小字号Ctrl + -
显示快捷键?