Subversion Repositories SmartDukaan

Rev

Rev 35926 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
35926 vikas 1
package com.spice.profitmandi.dao.entity.cs;
2
 
3
import javax.persistence.Column;
4
import javax.persistence.Entity;
5
import javax.persistence.GeneratedValue;
6
import javax.persistence.GenerationType;
7
import javax.persistence.Id;
8
import javax.persistence.Table;
9
import java.time.LocalDateTime;
10
 
11
@Entity
12
@Table(name = "cs.callback_request")
13
public class CallbackRequest {
14
 
15
    @Id
16
    @Column
17
    @GeneratedValue(strategy = GenerationType.IDENTITY)
18
    private int id;
19
 
20
    @Column(name = "fofo_id")
21
    private int fofoId;
22
 
23
    @Column(name = "user_id")
24
    private int userId;
25
 
26
    @Column(name = "contact_id")
27
    private int contactId;
28
 
29
    @Column(name = "contact_name")
30
    private String contactName;
31
 
32
    @Column(name = "contact_role")
33
    private String contactRole;
34
 
35
    @Column
36
    private String subject;
37
 
38
    @Column
39
    private String message;
40
 
41
    @Column
42
    private String timing;
43
 
44
    @Column
45
    private String status;
46
 
35948 vikas 47
    @Column(name = "resolution_notes")
48
    private String resolutionNotes;
49
 
35926 vikas 50
    @Column(name = "create_timestamp")
51
    private LocalDateTime createTimestamp;
52
 
53
    @Column(name = "update_timestamp")
54
    private LocalDateTime updateTimestamp;
55
 
56
    public int getId() {
57
        return id;
58
    }
59
 
60
    public void setId(int id) {
61
        this.id = id;
62
    }
63
 
64
    public int getFofoId() {
65
        return fofoId;
66
    }
67
 
68
    public void setFofoId(int fofoId) {
69
        this.fofoId = fofoId;
70
    }
71
 
72
    public int getUserId() {
73
        return userId;
74
    }
75
 
76
    public void setUserId(int userId) {
77
        this.userId = userId;
78
    }
79
 
80
    public int getContactId() {
81
        return contactId;
82
    }
83
 
84
    public void setContactId(int contactId) {
85
        this.contactId = contactId;
86
    }
87
 
88
    public String getContactName() {
89
        return contactName;
90
    }
91
 
92
    public void setContactName(String contactName) {
93
        this.contactName = contactName;
94
    }
95
 
96
    public String getContactRole() {
97
        return contactRole;
98
    }
99
 
100
    public void setContactRole(String contactRole) {
101
        this.contactRole = contactRole;
102
    }
103
 
104
    public String getSubject() {
105
        return subject;
106
    }
107
 
108
    public void setSubject(String subject) {
109
        this.subject = subject;
110
    }
111
 
112
    public String getMessage() {
113
        return message;
114
    }
115
 
116
    public void setMessage(String message) {
117
        this.message = message;
118
    }
119
 
120
    public String getTiming() {
121
        return timing;
122
    }
123
 
124
    public void setTiming(String timing) {
125
        this.timing = timing;
126
    }
127
 
128
    public String getStatus() {
129
        return status;
130
    }
131
 
132
    public void setStatus(String status) {
133
        this.status = status;
134
    }
135
 
35948 vikas 136
    public String getResolutionNotes() {
137
        return resolutionNotes;
138
    }
139
 
140
    public void setResolutionNotes(String resolutionNotes) {
141
        this.resolutionNotes = resolutionNotes;
142
    }
143
 
35926 vikas 144
    public LocalDateTime getCreateTimestamp() {
145
        return createTimestamp;
146
    }
147
 
148
    public void setCreateTimestamp(LocalDateTime createTimestamp) {
149
        this.createTimestamp = createTimestamp;
150
    }
151
 
152
    public LocalDateTime getUpdateTimestamp() {
153
        return updateTimestamp;
154
    }
155
 
156
    public void setUpdateTimestamp(LocalDateTime updateTimestamp) {
157
        this.updateTimestamp = updateTimestamp;
158
    }
159
 
160
    @Override
161
    public String toString() {
162
        return "CallbackRequest{" +
163
                "id=" + id +
164
                ", fofoId=" + fofoId +
165
                ", userId=" + userId +
166
                ", contactId=" + contactId +
167
                ", contactName='" + contactName + '\'' +
168
                ", contactRole='" + contactRole + '\'' +
169
                ", subject='" + subject + '\'' +
170
                ", timing='" + timing + '\'' +
171
                ", status='" + status + '\'' +
172
                ", createTimestamp=" + createTimestamp +
173
                '}';
174
    }
175
}