Rev 31249 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.entity.user;import java.time.LocalDateTime;import javax.persistence.Column;import javax.persistence.Entity;import javax.persistence.EnumType;import javax.persistence.Enumerated;import javax.persistence.GeneratedValue;import javax.persistence.GenerationType;import javax.persistence.Id;import javax.persistence.Table;import com.spice.profitmandi.dao.enumuration.dtr.CommunicationType;@Entity@Table(name = "user.lead_activity")public class LeadActivity {@Id@Column(name = "id", unique = true, updatable = false)@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "lead_id")private int leadId;@Column(name = "schedule_timestamp")private LocalDateTime schelduleTimestamp;@Column(name = "closure_timestamp")private LocalDateTime closureTimestamp;@Column(name = "remark")private String remark;@Column(name = "communication_type")@Enumerated(EnumType.STRING)private CommunicationType communicationType;@Column(name = "auth_id")private int authId;public LocalDateTime getClosureTimestamp() {return closureTimestamp;}public void setClosureTimestamp(LocalDateTime closureTimestamp) {this.closureTimestamp = closureTimestamp;}@Column(name = "created_timestamp")private LocalDateTime createdTimestamp;public int getId() {return id;}public void setId(int id) {this.id = id;}public int getLeadId() {return leadId;}public void setLeadId(int leadId) {this.leadId = leadId;}public LocalDateTime getSchelduleTimestamp() {return schelduleTimestamp;}public void setSchelduleTimestamp(LocalDateTime schelduleTimestamp) {this.schelduleTimestamp = schelduleTimestamp;}public CommunicationType getCommunicationType() {return communicationType;}public void setCommunicationType(CommunicationType communicationType) {this.communicationType = communicationType;}public int getAuthId() {return authId;}public void setAuthId(int authId) {this.authId = authId;}public String getRemark() {return remark;}public void setRemark(String remark) {this.remark = remark;}public LocalDateTime getCreatedTimestamp() {return createdTimestamp;}public void setCreatedTimestamp(LocalDateTime createdTimestamp) {this.createdTimestamp = createdTimestamp;}@Overridepublic String toString() {return "LeadActivity [id=" + id + ", leadId=" + leadId + ", schelduleTimestamp=" + schelduleTimestamp+ ", closureTimestamp=" + closureTimestamp + ", remark=" + remark + ", communicationType="+ communicationType + ", authId=" + authId + ", createdTimestamp=" + createdTimestamp + "]";}}