Subversion Repositories SmartDukaan

Rev

Rev 33087 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33087 Rev 33612
Line 4... Line 4...
4
import java.util.Objects;
4
import java.util.Objects;
5
 
5
 
6
public class ImeiAgeingModel {
6
public class ImeiAgeingModel {
7
    String imei;
7
    String imei;
8
    int daysLeft;
8
    int daysLeft;
-
 
9
    LocalDate vendorBillingDate;
9
    String color = "green";
10
    String color = "green";
10
 
11
 
11
    public String getImei() {
12
    public String getImei() {
12
        return imei;
13
        return imei;
13
    }
14
    }
Line 30... Line 31...
30
 
31
 
31
    public void setColor(String color) {
32
    public void setColor(String color) {
32
        this.color = color;
33
        this.color = color;
33
    }
34
    }
34
 
35
 
-
 
36
    public LocalDate getVendorBillingDate() {
-
 
37
        return vendorBillingDate;
-
 
38
    }
-
 
39
 
-
 
40
    public void setVendorBillingDate(LocalDate vendorBillingDate) {
-
 
41
        this.vendorBillingDate = vendorBillingDate;
-
 
42
    }
-
 
43
 
35
    @Override
44
    @Override
36
    public boolean equals(Object o) {
45
    public boolean equals(Object o) {
37
        if (this == o) return true;
46
        if (this == o) return true;
38
        if (o == null || getClass() != o.getClass()) return false;
47
        if (o == null || getClass() != o.getClass()) return false;
39
        ImeiAgeingModel that = (ImeiAgeingModel) o;
48
        ImeiAgeingModel that = (ImeiAgeingModel) o;