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;
28004 tejbeer 11
 
33791 amit.gupta 12
	public BrandAuthUserPOModel() {
29969 amit.gupta 13
	}
14
 
33791 amit.gupta 15
	public BrandAuthUserPOModel(int authUserId, String brand, long todayPOValue, long todayPOBilledValue, long todayBilledValue) {
16
		this.authUserId = authUserId;
28004 tejbeer 17
		this.brand = brand;
29964 amit.gupta 18
		this.todayPOValue = todayPOValue;
19
		this.todayPOBilledValue = todayPOBilledValue;
20
		this.todayBilledValue = todayBilledValue;
28004 tejbeer 21
	}
22
 
29964 amit.gupta 23
	@Override
24
	public boolean equals(Object o) {
25
		if (this == o) return true;
26
		if (o == null || getClass() != o.getClass()) return false;
33791 amit.gupta 27
		BrandAuthUserPOModel that = (BrandAuthUserPOModel) o;
28
		return authUserId == that.authUserId && todayPOValue == that.todayPOValue && todayPOBilledValue == that.todayPOBilledValue && todayBilledValue == that.todayBilledValue && Objects.equals(brand, that.brand);
28053 tejbeer 29
	}
30
 
29964 amit.gupta 31
	@Override
32
	public int hashCode() {
33791 amit.gupta 33
		return Objects.hash(authUserId, brand, todayPOValue, todayPOBilledValue, todayBilledValue);
28053 tejbeer 34
	}
35
 
33791 amit.gupta 36
	public int getAuthUserId() {
37
		return authUserId;
28004 tejbeer 38
	}
39
 
33791 amit.gupta 40
	public void setAuthUserId(int authUserId) {
41
		this.authUserId = authUserId;
28004 tejbeer 42
	}
43
 
44
	public String getBrand() {
45
		return brand;
46
	}
47
 
48
	public void setBrand(String brand) {
49
		this.brand = brand;
50
	}
51
 
29964 amit.gupta 52
	public long getTodayPOValue() {
53
		return todayPOValue;
28004 tejbeer 54
	}
55
 
29964 amit.gupta 56
	public void setTodayPOValue(long todayPOValue) {
57
		this.todayPOValue = todayPOValue;
28004 tejbeer 58
	}
59
 
29964 amit.gupta 60
	public long getTodayPOBilledValue() {
61
		return todayPOBilledValue;
28004 tejbeer 62
	}
63
 
29964 amit.gupta 64
	public void setTodayPOBilledValue(long todayPOBilledValue) {
65
		this.todayPOBilledValue = todayPOBilledValue;
28004 tejbeer 66
	}
67
 
29964 amit.gupta 68
	public long getTodayBilledValue() {
69
		return todayBilledValue;
28004 tejbeer 70
	}
71
 
29964 amit.gupta 72
	public void setTodayBilledValue(long todayBilledValue) {
73
		this.todayBilledValue = todayBilledValue;
28004 tejbeer 74
	}
75
}