/magstudentportal/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/magstudentportal/trunk

« back to all changes in this revision

Viewing changes to src/main/java/DB/Teach.java

  • Committer: Gustav Hartvigsson
  • Date: 2017-08-28 14:00:50 UTC
  • mfrom: (15.1.3 magstudentportal-more-db)
  • Revision ID: gustav.hartvigsson@gmail.com-20170828140050-zu6nqc1vlp9wnwh8
* derp?

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
}
 
 
b'\\ No newline at end of file'