Rev 31370 | 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.GeneratedValue;import javax.persistence.GenerationType;import javax.persistence.Id;import javax.persistence.Table;@Entity@Table(name = "user.lead_brand")public class LeadBrand {@Id@Column(name = "id", unique = true, updatable = false)@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "lead_id")private int leadId;@Column(name = "lead_detail_id")private int leadDetailId;@Column(name = "brand")private String brand;@Column(name = "value")private int value;@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 int getLeadDetailId() {return leadDetailId;}public void setLeadDetailId(int leadDetailId) {this.leadDetailId = leadDetailId;}public String getBrand() {return brand;}public void setBrand(String brand) {this.brand = brand;}public int getValue() {return value;}public void setValue(int value) {this.value = value;}public LocalDateTime getCreatedTimestamp() {return createdTimestamp;}public void setCreatedTimestamp(LocalDateTime createdTimestamp) {this.createdTimestamp = createdTimestamp;}@Overridepublic String toString() {return "LeadBrand [id=" + id + ", leadId=" + leadId + ", leadDetailId=" + leadDetailId + ", brand=" + brand+ ", value=" + value + ", createdTimestamp=" + createdTimestamp + "]";}}