Subversion Repositories SmartDukaan

Rev

Rev 24402 | Rev 24718 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24402 Rev 24607
Line 33... Line 33...
33
				+ "where ii.itemId in :itemIds and ii.fofoId = :fofoId and ii.purchaseId = :purchaseId group by ii.itemId")
33
				+ "where ii.itemId in :itemIds and ii.fofoId = :fofoId and ii.purchaseId = :purchaseId group by ii.itemId")
34
})
34
})
35
@Entity
35
@Entity
36
@Table(name="fofo.inventory_item", schema = "fofo")
36
@Table(name="fofo.inventory_item", schema = "fofo")
37
public class InventoryItem implements Comparable {
37
public class InventoryItem implements Comparable {
-
 
38
	
-
 
39
	public InventoryItem(String serialNumber) {
-
 
40
		this.serialNumber = serialNumber;
-
 
41
	}
38
 
42
	
-
 
43
	public InventoryItem() {
-
 
44
		
-
 
45
	}
-
 
46
	
39
	@Id
47
	@Id
40
	@Column(name="id", unique=true, updatable=false)
48
	@Column(name="id", unique=true, updatable=false)
41
	@GeneratedValue(strategy = GenerationType.IDENTITY)
49
	@GeneratedValue(strategy = GenerationType.IDENTITY)
42
	private int id;
50
	private int id;
43
	
51