BrightSide Workbench Full Report + Source Code
MailTracker.java
Go to the documentation of this file.
1 /*
2  * TurrĂ³ i Cutiller Foundation. License notice.
3  * Copyright (C) 2018 Lluis TurrĂ³ Cutiller <http://www.turro.org/>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Affero General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Affero General Public License for more details.
14  *
15  * You should have received a copy of the GNU Affero General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 package org.turro.elephant.entities.db;
20 
21 import java.util.Date;
22 import javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.GeneratedValue;
25 import javax.persistence.GenerationType;
26 import javax.persistence.Id;
27 import javax.persistence.Temporal;
28 
33 @Entity
34 public class MailTracker implements java.io.Serializable {
35 
36  @Id
37  @GeneratedValue(strategy=GenerationType.IDENTITY)
38  @Column(name="IDENTIFIER")
39  private Long id;
40 
41  private String entityPath;
42 
43  private String idContact;
44 
45  @Temporal(value = javax.persistence.TemporalType.TIMESTAMP)
46  private java.util.Date readDate;
47 
48  public Long getId() {
49  return id;
50  }
51 
52  public void setId(Long id) {
53  this.id = id;
54  }
55 
56  public String getEntityPath() {
57  return entityPath;
58  }
59 
60  public void setEntityPath(String entityPath) {
61  this.entityPath = entityPath;
62  }
63 
64  public String getIdContact() {
65  return idContact;
66  }
67 
68  public void setIdContact(String idContact) {
69  this.idContact = idContact;
70  }
71 
72  public Date getReadDate() {
73  return readDate;
74  }
75 
76  public void setReadDate(Date readDate) {
77  this.readDate = readDate;
78  }
79 
80 }