*/
void setItemBrandName (final String itemBrandName);
+ /**
+ * Getter for item number
+ * <p>
+ * @return Item number
+ */
+ Long getItemNumber ();
+
+ /**
+ * Setter for item number
+ * <p>
+ * @param itemNumber Item number
+ */
+ void setItemNumber (final Long itemNumber);
+
@Override
boolean equals (final Object object);
/**
* Item branding
*/
- @Column(name = "item_brand_name")
+ @Column (name = "item_brand_name")
private String itemBrandName;
/**
@Column (name = "item_net_price")
private Float itemNetPrice;
+ /**
+ * Item's number
+ */
+ @Column(name = "item_number")
+ private Long itemNumber;
+
/**
* Product being linked in this itemReceipt item
*/
this.itemNetPrice = itemNetPrice;
}
+ @Override
+ public Long getItemNumber () {
+ return this.itemNumber;
+ }
+
+ @Override
+ public void setItemNumber (final Long itemNumber) {
+ this.itemNumber = itemNumber;
+ }
+
@Override
public Product getItemProduct () {
return this.itemProduct;