/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
 * The persistent class for the teaches database table.
8
 * 
9
 */
10
@Entity
15.1.6 by Gustav Hartvigsson
* tabs -> 2 spaces
11
@Table(name = "teaches")
12
@NamedQuery(name = "Teach.findAll", query = "SELECT t FROM Teach t")
15.1.3 by Gustav Hartvigsson
Generated classes from tables and added them.
13
public class Teach implements Serializable {
15.1.6 by Gustav Hartvigsson
* tabs -> 2 spaces
14
  private static final long serialVersionUID = 1L;
15
  private TeachPK id;
16
17
  public Teach() {
18
  }
19
20
  @EmbeddedId
21
  public TeachPK getId() {
22
    return this.id;
23
  }
24
25
  public void setId(TeachPK id) {
26
    this.id = id;
27
  }
15.1.3 by Gustav Hartvigsson
Generated classes from tables and added them.
28
29
}