Subversion Repositories SmartDukaan

Rev

Rev 26031 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.entity.transaction;

import javax.persistence.*;
import java.time.LocalDateTime;

@Entity
@Table(name = "transaction.notify_cancel")
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;

        @Column(name = "updated_timestamp")
        private LocalDateTime updatedTimestamp;

        public int getId() {
                return id;
        }

        public LocalDateTime getUpdatedTimestamp() {
                return updatedTimestamp;
        }

        public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {
                this.updatedTimestamp = updatedTimestamp;
        }

        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;
        }

        @Override
        public String toString() {
                return "NotifyCancel [id=" + id + ", itemId=" + itemId + ", orderId=" + orderId + ", fofoId=" + fofoId
                                + ", cancellation=" + cancellation + ", createdTimestamp=" + createdTimestamp + ", updatedTimestamp="
                                + updatedTimestamp + "]";
        }

}