Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.entity.fofo;import javax.persistence.*;import java.io.Serializable;import java.time.LocalDateTime;@Entity@Table(name = "fofo.fofo_partner_document")public class FofoPartnerDocument implements Serializable {@Id@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "fofo_id", nullable = false)private int fofoId;@Column(name = "title", nullable = false)private String title;@Column(name = "document_id", nullable = false)private int documentId;@Column(name = "created_date", updatable = false)private LocalDateTime createdDate = LocalDateTime.now();public int getId() {return id;}public void setId(int id) {this.id = id;}public int getFofoId() {return fofoId;}public void setFofoId(int fofoId) {this.fofoId = fofoId;}public String getTitle() {return title;}public void setTitle(String title) {this.title = title;}public int getDocumentId() {return documentId;}public void setDocumentId(int documentId) {this.documentId = documentId;}public LocalDateTime getCreatedDate() {return createdDate;}public void setCreatedDate(LocalDateTime createdDate) {this.createdDate = createdDate;}@Overridepublic String toString() {return "FofoPartnerDocument{" +"id=" + id +", fofoId=" + fofoId +", title='" + title + '\'' +", documentId=" + documentId +", createdDate=" + createdDate +'}';}}