Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.entity.whatsapp;import com.spice.profitmandi.dao.convertor.LocalDateTimeAttributeConverter;import javax.persistence.*;import java.time.LocalDateTime;@Entity@Table(name = "fofo.whatsapp_messages")public class WhatsappMessage {@Id@Column@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "created_timestamp")private LocalDateTime createdTimestamp;private String externalId;private String destAddr;@Column(name = "sent")private String sent;@Column(name = "delivered")private String delivered;@Column(name = "`read`")private String read;@Column(name = "failed")private String failed;public WhatsappMessage() {super();}public WhatsappMessage(int id, LocalDateTime createdTimestamp, String externalId, String destAddr, String sent, String delivered, String read, String failed, int failedCount) {this.id = id;this.createdTimestamp = createdTimestamp;this.externalId = externalId;this.destAddr = destAddr;this.sent = sent;this.delivered = delivered;this.read = read;this.failed = failed;}public int getId() {return id;}public void setId(int id) {this.id = id;}public LocalDateTime getCreatedTimestamp() {return createdTimestamp;}public void setCreatedTimestamp(LocalDateTime createdTimestamp) {this.createdTimestamp = createdTimestamp;}public String getExternalId() {return externalId;}public void setExternalId(String externalId) {this.externalId = externalId;}public String getDestAddr() {return destAddr;}public void setDestAddr(String destAddr) {this.destAddr = destAddr;}public String getSent() {return sent;}public void setSent(String sent) {this.sent = sent;}public String getDelivered() {return delivered;}public void setDelivered(String delivered) {this.delivered = delivered;}public String getRead() {return read;}public void setRead(String read) {this.read = read;}public String getFailed() {return failed;}public void setFailed(String failed) {this.failed = failed;}}