Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
24107 govind 1
package com.spice.profitmandi.dao.entity.fofo;
2
 
3
import javax.persistence.Column;
4
import javax.persistence.Entity;
5
import javax.persistence.GeneratedValue;
6
import javax.persistence.GenerationType;
7
import javax.persistence.Id;
8
import javax.persistence.Table;
9
 
10
@Entity
11
@Table(name="fofo.partner_target",schema="fofo")
12
public class PartnerTarget {
13
 
25432 amit.gupta 14
	@Override
15
	public String toString() {
16
		return "PartnerTarget [id=" + id + ", fofoId=" + fofoId + ", targetValue=" + targetValue + ", targetId="
17
				+ targetId + "]";
18
	}
19
 
24107 govind 20
	@Id
21
	@Column(name="id")
22
	@GeneratedValue(strategy = GenerationType.IDENTITY)
23
	private int id;
24
 
25
	@Column(name="fofo_id")
26
	private int fofoId;
27
 
28
	@Column(name="target_value")
29
	private float targetValue;
30
 
24171 govind 31
	@Column(name="target_id")
32
	private int targetId;
24883 amit.gupta 33
 
34
 
24107 govind 35
 
24883 amit.gupta 36
	public PartnerTarget() {
37
		super();
38
	}
39
 
40
	public PartnerTarget(int fofoId, float targetValue) {
41
		super();
42
		this.fofoId = fofoId;
43
		this.targetValue = targetValue;
44
	}
45
 
24107 govind 46
	public int getId() {
47
		return id;
48
	}
49
 
50
	public void setId(int id) {
51
		this.id = id;
52
	}
53
 
54
	public int getFofoId() {
55
		return fofoId;
56
	}
57
 
58
	public void setFofoId(int fofoId) {
59
		this.fofoId = fofoId;
60
	}
61
 
62
	public float getTargetValue() {
63
		return targetValue;
64
	}
65
 
66
	public void setTargetValue(float targetValue) {
67
		this.targetValue = targetValue;
68
	}
69
 
24171 govind 70
	public int getTargetId() {
71
		return targetId;
24107 govind 72
	}
73
 
24171 govind 74
	public void setTargetId(int targetId) {
75
		this.targetId = targetId;
24107 govind 76
	}
77
 
78
 
79
}