📄 orderlineentity.java
字号:
package crm.entity.other;
/**
* OrderLineEntity(实体类) 对应表 (orders_line)
*/
public class OrderLineEntity implements java.io.Serializable {
private static final long serialVersionUID = 3545556553525511511L;
private Long oddId; //编号
private OrdersEntity orders; //客户实体对象 在多的一方
private ProductEntity product; //产品实体对象 在多的一方
private Integer oddCount; //数量
private String oddUnit; //单位
private Double oddPrice; //订单金额(元)
// Constructors
/** default constructor */
public OrderLineEntity() {
}
/** minimal constructor */
public OrderLineEntity(OrdersEntity orders, ProductEntity product,
Integer oddCount) {
this.orders = orders;
this.product = product;
this.oddCount = oddCount;
}
/** full constructor */
public OrderLineEntity(OrdersEntity orders, ProductEntity 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 OrdersEntity getOrders() {
return this.orders;
}
public void setOrders(OrdersEntity orders) {
this.orders = orders;
}
public ProductEntity getProduct() {
return this.product;
}
public void setProduct(ProductEntity 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 + -