📄 abstractorders.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 + -