orderform.java

来自「非常经典的ssh整合实例」· Java 代码 · 共 90 行

JAVA
90
字号
package com.briup.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


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

public class Orderform  implements java.io.Serializable {


    // Fields    

     private Long id;
     private Customer customer;
     private Double cost;
     private Date orderdate;
     private Set orderlines = new HashSet(0);


    // Constructors

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

    
    /** full constructor */
    public Orderform(Customer customer, Double cost, Date orderdate, Set orderlines) {
        this.customer = customer;
        this.cost = cost;
        this.orderdate = orderdate;
        this.orderlines = orderlines;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Customer getCustomer() {
        return this.customer;
    }
    
    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public Double getCost() {
        return this.cost;
    }
    
    public void setCost(Double cost) {
        this.cost = cost;
    }

    public Date getOrderdate() {
        return this.orderdate;
    }
    
    public void setOrderdate(Date orderdate) {
        this.orderdate = orderdate;
    }

    public Set getOrderlines() {
        return this.orderlines;
    }
    
    public void setOrderlines(Set orderlines) {
        this.orderlines = orderlines;
    }
   








}

⌨️ 快捷键说明

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