Subversion Repositories SmartDukaan

Rev

Rev 33801 | Rev 35154 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33801 Rev 35153
Line 8... Line 8...
8
	private long todayPOValue;
8
	private long todayPOValue;
9
	private long todayPOBilledValue;
9
	private long todayPOBilledValue;
10
	private long todayBilledValue;
10
	private long todayBilledValue;
11
	private int partiesBilled;
11
	private int partiesBilled;
12
 
12
 
13
	public BrandAuthUserPOModel() {
-
 
14
	}
-
 
15
 
13
 
16
	public BrandAuthUserPOModel(int authUserId, String brand, long todayPOValue, long todayPOBilledValue, long todayBilledValue, int partiesBilled) {
14
	public BrandAuthUserPOModel(Integer authUserId, String brand, Long todayPOValue, Long todayPOBilledValue, Long todayBilledValue, Integer partiesBilled) {
17
		this.authUserId = authUserId;
15
		this.authUserId = authUserId != null ? authUserId : 0;
18
		this.brand = brand;
16
		this.brand = brand;
19
		this.todayPOValue = todayPOValue;
17
		this.todayPOValue = todayPOValue != null ? todayPOValue : 0L;
20
		this.todayPOBilledValue = todayPOBilledValue;
18
		this.todayPOBilledValue = todayPOBilledValue != null ? todayPOBilledValue : 0L;
21
		this.todayBilledValue = todayBilledValue;
19
		this.todayBilledValue = todayBilledValue != null ? todayBilledValue : 0L;
22
		this.partiesBilled = partiesBilled;
20
		this.partiesBilled = partiesBilled != null ? partiesBilled : 0;
-
 
21
	}
-
 
22
 
-
 
23
 
-
 
24
	public BrandAuthUserPOModel() {
23
	}
25
	}
24
 
26
 
25
	@Override
27
	@Override
26
	public boolean equals(Object o) {
28
	public boolean equals(Object o) {
27
		if (this == o) return true;
29
		if (this == o) return true;