Rev 24917 | 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.EnumType;import javax.persistence.Enumerated;import javax.persistence.GeneratedValue;import javax.persistence.GenerationType;import javax.persistence.Id;import javax.persistence.Table;import com.spice.profitmandi.dao.repository.inventory.NotifyStatus;@Entity@Table(name = "transaction.notify_orders", schema = "transaction")public class NotifyOrder {@Id@Column(name = "id", unique = true, updatable = false)@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "orderId")private int orderId;@Column(name = "notifyId")private int notifyId;@Column(name = "status")@Enumerated(EnumType.STRING)private NotifyStatus status;@Column(name = "itemId")private int itemId;@Column(name = "fofoId")private int fofoId;@Column(name = "update_timestamp")private LocalDateTime updateTimestamp;public LocalDateTime getUpdateTimestamp() {return updateTimestamp;}public void setUpdateTimestamp(LocalDateTime updateTimestamp) {this.updateTimestamp = updateTimestamp;}public int getId() {return id;}public void setId(int id) {this.id = id;}public int getOrderId() {return orderId;}public void setOrderId(int orderId) {this.orderId = orderId;}public int getNotifyId() {return notifyId;}public void setNotifyId(int notifyId) {this.notifyId = notifyId;}public NotifyStatus getStatus() {return status;}public void setStatus(NotifyStatus status) {this.status = status;}public int getItemId() {return itemId;}public void setItemId(int itemId) {this.itemId = itemId;}public int getFofoId() {return fofoId;}public void setFofoId(int fofoId) {this.fofoId = fofoId;}@Overridepublic String toString() {return "NotifyOrder [id=" + id + ", orderId=" + orderId + ", notifyId=" + notifyId + ", status=" + status+ ", itemId=" + itemId + ", fofoId=" + fofoId + ", updateTimestamp=" + updateTimestamp + "]";}}