~livrezmoi/livrezmoi/trackingwofull

« back to all changes in this revision

Viewing changes to TrackingWOProjectEJB/ejbModule/com/npd/trackingwo/entity/Note.java

  • Committer: Rachid Ouattara
  • Date: 2009-08-15 18:49:34 UTC
  • Revision ID: ouattara@rouattara-20090815184934-64ohiypk5cvf831a
create new branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package com.npd.trackingwo.entity;
 
2
 
 
3
import java.io.Serializable;
 
4
import javax.persistence.*;
 
5
 
 
6
import java.util.Date;
 
7
 
 
8
 
 
9
/**
 
10
 * The persistent class for the notes database table.
 
11
 * 
 
12
 */
 
13
@Entity
 
14
@Table(name="notes")
 
15
public class Note implements Serializable {
 
16
        private static final long serialVersionUID = 1L;
 
17
 
 
18
        @Id
 
19
        @GeneratedValue(strategy=GenerationType.AUTO)
 
20
        @Column(unique=true, nullable=false)
 
21
        private long idNotes;
 
22
 
 
23
        private Date dateNote;
 
24
 
 
25
        private String noteContent;
 
26
 
 
27
    public Note() {
 
28
    }
 
29
 
 
30
        public long getIdNotes() {
 
31
                return this.idNotes;
 
32
        }
 
33
 
 
34
        public Date getDateNote() {
 
35
                return this.dateNote;
 
36
        }
 
37
 
 
38
        public void setDateNote(Date dateNote) {
 
39
                this.dateNote = dateNote;
 
40
        }
 
41
 
 
42
        public String getNoteContent() {
 
43
                return this.noteContent;
 
44
        }
 
45
 
 
46
        public void setNoteContent(String noteContent) {
 
47
                this.noteContent = noteContent;
 
48
        }
 
49
 
 
50
}
 
 
b'\\ No newline at end of file'