Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.entity.fofo;import javax.persistence.Column;import javax.persistence.Entity;import javax.persistence.Id;import javax.persistence.Table;import java.time.LocalDate;import java.util.Objects;@Entity@Table(name="fofo.samsung_pcm",schema="fofo")public class SamsungPCM {@Id@Column(name="fofo_id")private int fofoId;@Column(name="pcm_date")private LocalDate pcmDate;public int getFofoId() {return fofoId;}public void setFofoId(int fofoId) {this.fofoId = fofoId;}public LocalDate getPcmDate() {return pcmDate;}public void setPcmDate(LocalDate pcmDate) {this.pcmDate = pcmDate;}@Overridepublic boolean equals(Object o) {if (this == o) return true;if (o == null || getClass() != o.getClass()) return false;SamsungPCM that = (SamsungPCM) o;return fofoId == that.fofoId && Objects.equals(pcmDate, that.pcmDate);}@Overridepublic int hashCode() {return Objects.hash(fofoId, pcmDate);}@Overridepublic String toString() {return "SamsungPCM{" +"fofoId=" + fofoId +", pcmDate=" + pcmDate +'}';}}