/magstudentportal/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/magstudentportal/trunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil
 * vi: set shiftwidth=2 tabstop=2 expandtab:
 * :indentSize=2:tabSize=2:noTabs=true:
 */

package db;

import java.io.Serializable;
import javax.persistence.*;

/**
 * The persistent class for the teaches database table.
 * 
 */
@Entity
@Table(name = "teaches")
@NamedQuery(name = "Teach.findAll", query = "SELECT t FROM Teach t")
public class Teach implements Serializable {
  private static final long serialVersionUID = 1L;
  private TeachPK id;

  public Teach() {
  }

  @EmbeddedId
  public TeachPK getId() {
    return this.id;
  }

  public void setId(TeachPK id) {
    this.id = id;
  }

}