Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
28004 tejbeer 1
package com.spice.profitmandi.dao.model;
2
 
29964 amit.gupta 3
import java.util.Objects;
4
 
33791 amit.gupta 5
public class BrandAuthUserPOModel {
6
	private int authUserId;
28004 tejbeer 7
	private String brand;
29964 amit.gupta 8
	private long todayPOValue;
9
	private long todayPOBilledValue;
10
	private long todayBilledValue;
33801 amit.gupta 11
	private int partiesBilled;
28004 tejbeer 12
 
33791 amit.gupta 13
	public BrandAuthUserPOModel() {
29969 amit.gupta 14
	}
15
 
33801 amit.gupta 16
	public BrandAuthUserPOModel(int authUserId, String brand, long todayPOValue, long todayPOBilledValue, long todayBilledValue, int partiesBilled) {
33791 amit.gupta 17
		this.authUserId = authUserId;
28004 tejbeer 18
		this.brand = brand;
29964 amit.gupta 19
		this.todayPOValue = todayPOValue;
20
		this.todayPOBilledValue = todayPOBilledValue;
21
		this.todayBilledValue = todayBilledValue;
33801 amit.gupta 22
		this.partiesBilled = partiesBilled;
28004 tejbeer 23
	}
24
 
29964 amit.gupta 25
	@Override
26
	public boolean equals(Object o) {
27
		if (this == o) return true;
28
		if (o == null || getClass() != o.getClass()) return false;
33791 amit.gupta 29
		BrandAuthUserPOModel that = (BrandAuthUserPOModel) o;
30
		return authUserId == that.authUserId && todayPOValue == that.todayPOValue && todayPOBilledValue == that.todayPOBilledValue && todayBilledValue == that.todayBilledValue && Objects.equals(brand, that.brand);
28053 tejbeer 31
	}
32
 
29964 amit.gupta 33
	@Override
34
	public int hashCode() {
33791 amit.gupta 35
		return Objects.hash(authUserId, brand, todayPOValue, todayPOBilledValue, todayBilledValue);
28053 tejbeer 36
	}
37
 
33791 amit.gupta 38
	public int getAuthUserId() {
39
		return authUserId;
28004 tejbeer 40
	}
41
 
33791 amit.gupta 42
	public void setAuthUserId(int authUserId) {
43
		this.authUserId = authUserId;
28004 tejbeer 44
	}
45
 
46
	public String getBrand() {
47
		return brand;
48
	}
49
 
50
	public void setBrand(String brand) {
51
		this.brand = brand;
52
	}
53
 
29964 amit.gupta 54
	public long getTodayPOValue() {
55
		return todayPOValue;
28004 tejbeer 56
	}
57
 
29964 amit.gupta 58
	public void setTodayPOValue(long todayPOValue) {
59
		this.todayPOValue = todayPOValue;
28004 tejbeer 60
	}
61
 
29964 amit.gupta 62
	public long getTodayPOBilledValue() {
63
		return todayPOBilledValue;
28004 tejbeer 64
	}
65
 
29964 amit.gupta 66
	public void setTodayPOBilledValue(long todayPOBilledValue) {
67
		this.todayPOBilledValue = todayPOBilledValue;
28004 tejbeer 68
	}
69
 
29964 amit.gupta 70
	public long getTodayBilledValue() {
71
		return todayBilledValue;
28004 tejbeer 72
	}
73
 
29964 amit.gupta 74
	public void setTodayBilledValue(long todayBilledValue) {
75
		this.todayBilledValue = todayBilledValue;
28004 tejbeer 76
	}
33801 amit.gupta 77
 
78
	public int getPartiesBilled() {
79
		return partiesBilled;
80
	}
81
 
82
	public void setPartiesBilled(int partiesBilled) {
83
		this.partiesBilled = partiesBilled;
84
	}
28004 tejbeer 85
}