Subversion Repositories SmartDukaan

Rev

Rev 24171 | Go to most recent revision | 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
 
14
	@Id
15
	@Column(name="id")
16
	@GeneratedValue(strategy = GenerationType.IDENTITY)
17
	private int id;
18
 
19
	@Column(name="fofo_id")
20
	private int fofoId;
21
 
22
	@Column(name="target_value")
23
	private float targetValue;
24
 
24171 govind 25
	@Column(name="target_id")
26
	private int targetId;
24883 amit.gupta 27
 
28
 
24107 govind 29
 
24883 amit.gupta 30
	public PartnerTarget() {
31
		super();
32
	}
33
 
34
	public PartnerTarget(int fofoId, float targetValue) {
35
		super();
36
		this.fofoId = fofoId;
37
		this.targetValue = targetValue;
38
	}
39
 
24107 govind 40
	public int getId() {
41
		return id;
42
	}
43
 
44
	public void setId(int id) {
45
		this.id = id;
46
	}
47
 
48
	public int getFofoId() {
49
		return fofoId;
50
	}
51
 
52
	public void setFofoId(int fofoId) {
53
		this.fofoId = fofoId;
54
	}
55
 
56
	public float getTargetValue() {
57
		return targetValue;
58
	}
59
 
60
	public void setTargetValue(float targetValue) {
61
		this.targetValue = targetValue;
62
	}
63
 
24171 govind 64
	public int getTargetId() {
65
		return targetId;
24107 govind 66
	}
67
 
24171 govind 68
	public void setTargetId(int targetId) {
69
		this.targetId = targetId;
24107 govind 70
	}
71
 
72
 
73
}