Subversion Repositories SmartDukaan

Rev

Rev 24883 | Blame | Compare with Previous | Last modification | View Log | RSS feed

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

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.partner_target",schema="fofo")
public class PartnerTarget {
        
        @Override
        public String toString() {
                return "PartnerTarget [id=" + id + ", fofoId=" + fofoId + ", targetValue=" + targetValue + ", targetId="
                                + targetId + "]";
        }

        @Id
        @Column(name="id")
        @GeneratedValue(strategy = GenerationType.IDENTITY)
        private int id;
        
        @Column(name="fofo_id")
        private int fofoId;
        
        @Column(name="target_value")
        private float targetValue;
        
        @Column(name="target_id")
        private int targetId;
        
        

        public PartnerTarget() {
                super();
        }

        public PartnerTarget(int fofoId, float targetValue) {
                super();
                this.fofoId = fofoId;
                this.targetValue = targetValue;
        }

        public int getId() {
                return id;
        }

        public void setId(int id) {
                this.id = id;
        }

        public int getFofoId() {
                return fofoId;
        }

        public void setFofoId(int fofoId) {
                this.fofoId = fofoId;
        }

        public float getTargetValue() {
                return targetValue;
        }

        public void setTargetValue(float targetValue) {
                this.targetValue = targetValue;
        }

        public int getTargetId() {
                return targetId;
        }

        public void setTargetId(int targetId) {
                this.targetId = targetId;
        }

        
}