Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.entity.fofo;import javax.persistence.*;import java.time.LocalDateTime;@Entity@Table(name = "fofo.trial_brand_potential")public class TrialBrandPotential {@Id@GeneratedValue(strategy = GenerationType.IDENTITY)@Column(name = "id")private int id;@Column(name = "trial_form_Id")private int trialFormId;@Column(name = "brand_name")private String brandName;@Column(name = "potential")private double potential;@Column(name = "created_at")private LocalDateTime createdAt;public TrialBrandPotential() {}public TrialBrandPotential(int id, int trialFormId, String brandName, double potential, LocalDateTime createdAt) {this.id = id;this.trialFormId = trialFormId;this.brandName = brandName;this.potential = potential;this.createdAt = createdAt;}public int getId() {return id;}public void setId(int id) {this.id = id;}public int getTrialFormId() {return trialFormId;}public void setTrialFormId(int trialFormId) {this.trialFormId = trialFormId;}public String getBrandName() {return brandName;}public void setBrandName(String brandName) {this.brandName = brandName;}public double getPotential() {return potential;}public void setPotential(double potential) {this.potential = potential;}public LocalDateTime getCreatedAt() {return createdAt;}public void setCreatedAt(LocalDateTime createdAt) {this.createdAt = createdAt;}@Overridepublic String toString() {return "TrialBrandPotential{" +"id=" + id +", trialFormId=" + trialFormId +", brandName='" + brandName + '\'' +", potential=" + potential +", createdAt=" + createdAt +'}';}}