Subversion Repositories SmartDukaan

Rev

Rev 25721 | 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.planned_details")
public class PlannedDetail {
        @Id
        @Column(name = "id", unique = true, updatable = false)
        @GeneratedValue(strategy = GenerationType.IDENTITY)
        private int id;

        @Column(name = "monthly_planned_id")
        private int plannedId;

        @Column(name = "catalog_id")
        private int catalogId;

        @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 getPlannedId() {
                return plannedId;
        }

        public void setPlannedId(int plannedId) {
                this.plannedId = plannedId;
        }

        public int getCatalogId() {
                return catalogId;
        }

        public void setCatalogId(int catalogId) {
                this.catalogId = catalogId;
        }

        public int getQuantity() {
                return quantity;
        }

        public void setQuantity(int quantity) {
                this.quantity = quantity;
        }

        public LocalDateTime getUpdatedTimestamp() {
                return updatedTimestamp;
        }

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

        @Override
        public String toString() {
                return "PlannedDetail [id=" + id + ", plannedId=" + plannedId + ", catalogId=" + catalogId + ", quantity="
                                + quantity + ", updatedTimestamp=" + updatedTimestamp + "]";
        }

}