Rev 35948 | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.entity.cs;import javax.persistence.Column;import javax.persistence.Entity;import javax.persistence.GeneratedValue;import javax.persistence.GenerationType;import javax.persistence.Id;import javax.persistence.Table;import java.time.LocalDateTime;@Entity@Table(name = "cs.callback_request")public class CallbackRequest {@Id@Column@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "fofo_id")private int fofoId;@Column(name = "user_id")private int userId;@Column(name = "contact_id")private int contactId;@Column(name = "contact_name")private String contactName;@Column(name = "contact_role")private String contactRole;@Columnprivate String subject;@Columnprivate String message;@Columnprivate String timing;@Columnprivate String status;@Column(name = "resolution_notes")private String resolutionNotes;@Columnprivate boolean unread;@Column(name = "create_timestamp")private LocalDateTime createTimestamp;@Column(name = "update_timestamp")private LocalDateTime updateTimestamp;public int getId() {return id;}public void setId(int id) {this.id = id;}public int getFofoId() {return fofoId;}public void setFofoId(int fofoId) {this.fofoId = fofoId;}public int getUserId() {return userId;}public void setUserId(int userId) {this.userId = userId;}public int getContactId() {return contactId;}public void setContactId(int contactId) {this.contactId = contactId;}public String getContactName() {return contactName;}public void setContactName(String contactName) {this.contactName = contactName;}public String getContactRole() {return contactRole;}public void setContactRole(String contactRole) {this.contactRole = contactRole;}public String getSubject() {return subject;}public void setSubject(String subject) {this.subject = subject;}public String getMessage() {return message;}public void setMessage(String message) {this.message = message;}public String getTiming() {return timing;}public void setTiming(String timing) {this.timing = timing;}public String getStatus() {return status;}public void setStatus(String status) {this.status = status;}public String getResolutionNotes() {return resolutionNotes;}public void setResolutionNotes(String resolutionNotes) {this.resolutionNotes = resolutionNotes;}public boolean isUnread() {return unread;}public void setUnread(boolean unread) {this.unread = unread;}public LocalDateTime getCreateTimestamp() {return createTimestamp;}public void setCreateTimestamp(LocalDateTime createTimestamp) {this.createTimestamp = createTimestamp;}public LocalDateTime getUpdateTimestamp() {return updateTimestamp;}public void setUpdateTimestamp(LocalDateTime updateTimestamp) {this.updateTimestamp = updateTimestamp;}@Overridepublic String toString() {return "CallbackRequest{" +"id=" + id +", fofoId=" + fofoId +", userId=" + userId +", contactId=" + contactId +", contactName='" + contactName + '\'' +", contactRole='" + contactRole + '\'' +", subject='" + subject + '\'' +", timing='" + timing + '\'' +", status='" + status + '\'' +", createTimestamp=" + createTimestamp +'}';}}