buy.java

来自「超市进销存系统,采用mvc+DAO模式编写」· Java 代码 · 共 107 行

JAVA
107
字号
package mybaobao;



/**
 * Buy generated by MyEclipse - Hibernate Tools
 */

public class Buy  implements java.io.Serializable {


    // Fields    

     private Integer buyId;
     private Integer supplierId;
     private Integer wareId;
     private Integer price;
     private Integer quantity;
     private String buyDate;
     private String buyPerson;


    // Constructors

    /** default constructor */
    public Buy() {
    }

    
    /** full constructor */
    public Buy(Integer supplierId, Integer wareId, Integer price, Integer quantity, String buyDate, String buyPerson) {
        this.supplierId = supplierId;
        this.wareId = wareId;
        this.price = price;
        this.quantity = quantity;
        this.buyDate = buyDate;
        this.buyPerson = buyPerson;
    }

   
    // Property accessors

    public Integer getBuyId() {
        return this.buyId;
    }
    
    public void setBuyId(Integer buyId) {
        this.buyId = buyId;
    }

    public Integer getSupplierId() {
        return this.supplierId;
    }
    
    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getWareId() {
        return this.wareId;
    }
    
    public void setWareId(Integer wareId) {
        this.wareId = wareId;
    }

    public Integer getPrice() {
        return this.price;
    }
    
    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getQuantity() {
        return this.quantity;
    }
    
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getBuyDate() {
        return this.buyDate;
    }
    
    public void setBuyDate(String buyDate) {
        this.buyDate = buyDate;
    }

    public String getBuyPerson() {
        return this.buyPerson;
    }
    
    public void setBuyPerson(String buyPerson) {
        this.buyPerson = buyPerson;
    }
   








}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?