Rev 26031 | 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.transaction;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 = "transaction.notify_cancel", schema = "transaction")public class NotifyCancel {@Id@Column(name = "id", unique = true, updatable = false)@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "item_id")private int itemId;@Column(name = "order_id")private int orderId;@Column(name = "fofo_id")private int fofoId;public int getFofoId() {return fofoId;}public void setFofoId(int fofoId) {this.fofoId = fofoId;}@Column(name = "cancellation")private Boolean cancellation;@Column(name = "created_timestamp")private LocalDateTime createdTimestamp;public int getId() {return id;}public void setId(int id) {this.id = id;}public int getItemId() {return itemId;}public void setItemId(int itemId) {this.itemId = itemId;}public int getOrderId() {return orderId;}public void setOrderId(int orderId) {this.orderId = orderId;}public Boolean getCancellation() {return cancellation;}public void setCancellation(Boolean cancellation) {this.cancellation = cancellation;}public LocalDateTime getCreatedTimestamp() {return createdTimestamp;}public void setCreatedTimestamp(LocalDateTime createdTimestamp) {this.createdTimestamp = createdTimestamp;}@Overridepublic String toString() {return "NotifyCancel [id=" + id + ", itemId=" + itemId + ", orderId=" + orderId + ", fofoId=" + fofoId+ ", cancellation=" + cancellation + ", createdTimestamp=" + createdTimestamp + "]";}}