/magstudentportal/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/magstudentportal/trunk
18 by Gustav Hartvigsson
* Added vim modelines
1
/* c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil
2
 * vi: set shiftwidth=2 tabstop=2 expandtab:
3
 * :indentSize=2:tabSize=2:noTabs=true:
4
 */
5
27 by Gustav Hartvigsson
* changed DB -> db
6
package db;
15.1.3 by Gustav Hartvigsson
Generated classes from tables and added them.
7
8
import java.io.Serializable;
9
import javax.persistence.*;
10
11
/**
12
 * The persistent class for the teaches database table.
13
 * 
14
 */
15
@Entity
15.1.6 by Gustav Hartvigsson
* tabs -> 2 spaces
16
@Table(name = "teaches")
17
@NamedQuery(name = "Teach.findAll", query = "SELECT t FROM Teach t")
15.1.3 by Gustav Hartvigsson
Generated classes from tables and added them.
18
public class Teach implements Serializable {
15.1.6 by Gustav Hartvigsson
* tabs -> 2 spaces
19
  private static final long serialVersionUID = 1L;
20
  private TeachPK id;
21
22
  public Teach() {
23
  }
24
25
  @EmbeddedId
26
  public TeachPK getId() {
27
    return this.id;
28
  }
29
30
  public void setId(TeachPK id) {
31
    this.id = id;
32
  }
15.1.3 by Gustav Hartvigsson
Generated classes from tables and added them.
33
27 by Gustav Hartvigsson
* changed DB -> db
34
}