/magstudentportal/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/magstudentportal/trunk
15.1.3 by Gustav Hartvigsson
Generated classes from tables and added them.
1
package DB;
2
3
import java.io.Serializable;
4
import javax.persistence.*;
5
6
7
/**
8
 * The persistent class for the teaches database table.
9
 * 
10
 */
11
@Entity
12
@Table(name="teaches")
13
@NamedQuery(name="Teach.findAll", query="SELECT t FROM Teach t")
14
public class Teach implements Serializable {
15
	private static final long serialVersionUID = 1L;
16
	private TeachPK id;
17
18
	public Teach() {
19
	}
20
21
22
	@EmbeddedId
23
	public TeachPK getId() {
24
		return this.id;
25
	}
26
27
	public void setId(TeachPK id) {
28
		this.id = id;
29
	}
30
31
}