Subversion Repositories SmartDukaan

Rev

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

Rev 32445 Rev 32450
Line 11... Line 11...
11
	private int fofoId;
11
	private int fofoId;
12
	private String yearMonth;
12
	private String yearMonth;
13
	private long amount;
13
	private long amount;
14
	private static final DateTimeFormatter yearMonthFormatter = DateTimeFormatter.ofPattern("MM-yyyy");
14
	private static final DateTimeFormatter yearMonthFormatter = DateTimeFormatter.ofPattern("MM-yyyy");
15
	private long pendingAmount;
15
	private long pendingAmount;
-
 
16
	private Milestone totalMilestone;
16
	private Milestone billedMilestone;
17
	private Milestone billedMilestone;
17
	private Milestone previouseBilledMilestone;
18
	private Milestone previouseBilledMilestone;
18
	private String state;
19
	private String state;
19
	private String rbms;
20
	private String rbms;
20
 
21
 
Line 71... Line 72...
71
 
72
 
72
	public void setRbms(String rbms) {
73
	public void setRbms(String rbms) {
73
		this.rbms = rbms;
74
		this.rbms = rbms;
74
	}
75
	}
75
 
76
 
76
	@Override
-
 
77
	public boolean equals(Object o) {
77
	public Milestone getTotalMilestone() {
78
		if (this == o) return true;
-
 
79
		if (o == null || getClass() != o.getClass()) return false;
-
 
80
		PartnerMonthlySaleModel that = (PartnerMonthlySaleModel) o;
-
 
81
		return fofoId == that.fofoId && amount == that.amount && pendingAmount == that.pendingAmount && Objects.equals(yearMonth, that.yearMonth) && billedMilestone == that.billedMilestone && Objects.equals(state, that.state) && Objects.equals(rbms, that.rbms);
78
		return totalMilestone;
82
	}
79
	}
83
 
80
 
84
	@Override
-
 
85
	public int hashCode() {
81
	public void setTotalMilestone(Milestone totalMilestone) {
86
		return Objects.hash(fofoId, yearMonth, amount, pendingAmount, billedMilestone, state, rbms);
82
		this.totalMilestone = totalMilestone;
87
	}
83
	}
88
 
84
 
89
	public Milestone getBilledMilestone() {
85
	public Milestone getBilledMilestone() {
90
		return billedMilestone;
86
		return billedMilestone;
91
	}
87
	}
Line 115... Line 111...
115
		return "PartnerMonthlySaleModel{" +
111
		return "PartnerMonthlySaleModel{" +
116
				"fofoId=" + fofoId +
112
				"fofoId=" + fofoId +
117
				", yearMonth='" + yearMonth + '\'' +
113
				", yearMonth='" + yearMonth + '\'' +
118
				", amount=" + amount +
114
				", amount=" + amount +
119
				", pendingAmount=" + pendingAmount +
115
				", pendingAmount=" + pendingAmount +
-
 
116
				", totalMilestone=" + totalMilestone +
120
				", billedMilestone=" + billedMilestone +
117
				", billedMilestone=" + billedMilestone +
-
 
118
				", previouseBilledMilestone=" + previouseBilledMilestone +
121
				", state='" + state + '\'' +
119
				", state='" + state + '\'' +
-
 
120
				", rbms='" + rbms + '\'' +
122
				'}';
121
				'}';
123
	}
122
	}
-
 
123
 
-
 
124
	@Override
-
 
125
	public boolean equals(Object o) {
-
 
126
		if (this == o) return true;
-
 
127
		if (o == null || getClass() != o.getClass()) return false;
-
 
128
		PartnerMonthlySaleModel that = (PartnerMonthlySaleModel) o;
-
 
129
		return fofoId == that.fofoId && amount == that.amount && pendingAmount == that.pendingAmount && Objects.equals(yearMonth, that.yearMonth) && totalMilestone == that.totalMilestone && billedMilestone == that.billedMilestone && previouseBilledMilestone == that.previouseBilledMilestone && Objects.equals(state, that.state) && Objects.equals(rbms, that.rbms);
-
 
130
	}
-
 
131
 
-
 
132
	@Override
-
 
133
	public int hashCode() {
-
 
134
		return Objects.hash(fofoId, yearMonth, amount, pendingAmount, totalMilestone, billedMilestone, previouseBilledMilestone, state, rbms);
-
 
135
	}
-
 
136
 
124
}
137
}