Subversion Repositories SmartDukaan

Rev

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

Rev 23527 Rev 23968
Line 3... Line 3...
3
import java.io.Serializable;
3
import java.io.Serializable;
4
import java.time.LocalDateTime;
4
import java.time.LocalDateTime;
5
 
5
 
6
import javax.persistence.Column;
6
import javax.persistence.Column;
7
import javax.persistence.Entity;
7
import javax.persistence.Entity;
-
 
8
import javax.persistence.GeneratedValue;
-
 
9
import javax.persistence.GenerationType;
8
import javax.persistence.Id;
10
import javax.persistence.Id;
9
import javax.persistence.Table;
11
import javax.persistence.Table;
10
 
12
 
11
@Entity
13
@Entity
12
@Table(name="fofo.scheme_in_out", schema = "fofo")
14
@Table(name="fofo.scheme_in_out", schema = "fofo")
13
public class SchemeInOut implements Serializable{
15
public class SchemeInOut implements Serializable{
14
 
16
 
15
	private static final long serialVersionUID = 1L;
17
	private static final long serialVersionUID = 1L;
16
	
18
	
17
	@Id
19
	@Id
-
 
20
	@GeneratedValue(strategy = GenerationType.IDENTITY)
-
 
21
	private int id;
-
 
22
	
18
	@Column(name = "scheme_id")
23
	@Column(name = "scheme_id")
19
	private int schemeId;
24
	private int schemeId;
20
 
25
 
21
	@Id
-
 
22
	@Column(name = "inventory_item_id")
26
	@Column(name = "inventory_item_id")
23
	private int inventoryItemId;
27
	private int inventoryItemId;
24
	
28
	
25
	@Column(name = "amount")
29
	@Column(name = "amount")
26
	private float amount;
30
	private float amount;