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.fofo;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 = "fofo.suggested_po_detail", schema = "fofo")public class SuggestedPoDetail {@Id@Column(name = "id", unique = true, updatable = false)@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "monthly_po_id")private int poId;@Column(name = "item_id")private int itemId;@Column(name = "quantity")private Integer quantity;@Column(name = "updated_timestamp")private LocalDateTime updatedTimestamp;public int getId() {return id;}public void setId(int id) {this.id = id;}public int getPoId() {return poId;}public void setPoId(int poId) {this.poId = poId;}public int getItemId() {return itemId;}public void setItemId(int itemId) {this.itemId = itemId;}public Integer getQuantity() {return quantity;}public void setQuantity(Integer quantity) {this.quantity = quantity;}public LocalDateTime getUpdatedTimestamp() {return updatedTimestamp;}public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {this.updatedTimestamp = updatedTimestamp;}@Overridepublic String toString() {return "MonthlyPoDetail [id=" + id + ", poId=" + poId + ", itemId=" + itemId + ", quantity=" + quantity+ ", updatedTimestamp=" + updatedTimestamp + "]";}}