📄 ordersline.java
字号:
package com.accp.entity.jb_sale;
/**
* OrdersLine entity.
*
* @author MyEclipse Persistence Tools
*/
public class OrdersLine implements java.io.Serializable {
// Fields
private Long oddId;
private Orders orders;
private Product product;
private Integer oddCount;
private String oddUnit;
private Double oddPrice;
// Constructors
/** default constructor */
public OrdersLine() {
}
/** minimal constructor */
public OrdersLine(Orders orders, Product product, Integer oddCount) {
this.orders = orders;
this.product = product;
this.oddCount = oddCount;
}
/** full constructor */
public OrdersLine(Orders orders, Product product, Integer oddCount,
String oddUnit, Double oddPrice) {
this.orders = orders;
this.product = product;
this.oddCount = oddCount;
this.oddUnit = oddUnit;
this.oddPrice = oddPrice;
}
// Property accessors
public Long getOddId() {
return this.oddId;
}
public void setOddId(Long oddId) {
this.oddId = oddId;
}
public Orders getOrders() {
return this.orders;
}
public void setOrders(Orders orders) {
this.orders = orders;
}
public Product getProduct() {
return this.product;
}
public void setProduct(Product product) {
this.product = product;
}
public Integer getOddCount() {
return this.oddCount;
}
public void setOddCount(Integer oddCount) {
this.oddCount = oddCount;
}
public String getOddUnit() {
return this.oddUnit;
}
public void setOddUnit(String oddUnit) {
this.oddUnit = oddUnit;
}
public Double getOddPrice() {
return this.oddPrice;
}
public void setOddPrice(Double oddPrice) {
this.oddPrice = oddPrice;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -