Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
29266 manish 1
package com.spice.profitmandi.web.controller;
2
 
3
import java.time.LocalDate;
4
 
5
public class LeadWeakWiseModel {
6
 
7
	private LocalDate month;
8
 
9
	public LocalDate getMonth() {
10
		return month;
11
	}
12
 
13
	public void setMonth(LocalDate month) {
14
		this.month = month;
15
	}
16
 
17
	@Override
18
	public String toString() {
19
		return "LeadWeakWiseModel [month=" + month + "]";
20
	}
21
 
22
	@Override
23
	public int hashCode() {
24
		final int prime = 31;
25
		int result = 1;
26
		result = prime * result + ((month == null) ? 0 : month.hashCode());
27
		return result;
28
	}
29
 
30
	@Override
31
	public boolean equals(Object obj) {
32
		if (this == obj)
33
			return true;
34
		if (obj == null)
35
			return false;
36
		if (getClass() != obj.getClass())
37
			return false;
38
		LeadWeakWiseModel other = (LeadWeakWiseModel) obj;
39
		if (month == null) {
40
			if (other.month != null)
41
				return false;
42
		} else if (!month.equals(other.month))
43
			return false;
44
		return true;
45
	}
46
 
47
 
48
 
49
}