⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 abstractorders.java

📁 Hibernate一对多和多对一双向: 运行平台 Windows 2000 Windows XP Windows 9*/ME
💻 JAVA
字号:
package com.cat.hibernate.order;

import com.cat.hibernate.customer.Customers;



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

public abstract class AbstractOrders  implements java.io.Serializable {


    // Fields    

     private Long id;
     private String orderNumber;
     private Long customerId;
     private Customers customer;
     
    
     

    // Constructors

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

	/** minimal constructor */
    public AbstractOrders(Long id, Long customerId) {
        this.id = id;
        this.customerId = customerId;
    }
    
    /** full constructor */
    public AbstractOrders(Long id, String orderNumber, Long customerId) {
        this.id = id;
        this.orderNumber = orderNumber;
        this.customerId = customerId;
    }

   
    // Property accessors

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

    public String getOrderNumber() {
        return this.orderNumber;
    }
    
    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Long getCustomerId() {
        return this.customerId;
    }
    
    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }
    
    public Customers getCustomer()
    {
    	return this.customer;
    }
   
    public void setCustomer(Customers customer)
    {
    	this.customer=customer;
    }








}

⌨️ 快捷键说明

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