Subversion Repositories SmartDukaan

Rev

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

Rev 33443 Rev 33501
Line 7... Line 7...
7
 
7
 
8
    private String title;
8
    private String title;
9
    private LocalDate startDate;
9
    private LocalDate startDate;
10
    private LocalDate endDate;
10
    private LocalDate endDate;
11
    private String imgUrl;
11
    private String imgUrl;
-
 
12
    private String thumbnailUrl;
12
    private String region;
13
    private String region;
13
 
14
 
14
    public String getTitle() {
15
    public String getTitle() {
15
        return title;
16
        return title;
16
    }
17
    }
Line 41... Line 42...
41
 
42
 
42
    public void setImgUrl(String imgUrl) {
43
    public void setImgUrl(String imgUrl) {
43
        this.imgUrl = imgUrl;
44
        this.imgUrl = imgUrl;
44
    }
45
    }
45
 
46
 
-
 
47
    public String getThumbnailUrl() {
-
 
48
        return thumbnailUrl;
-
 
49
    }
-
 
50
 
-
 
51
    public void setThumbnailUrl(String thumbnailUrl) {
-
 
52
        this.thumbnailUrl = thumbnailUrl;
-
 
53
    }
-
 
54
 
46
    public String getRegion() {
55
    public String getRegion() {
47
        return region;
56
        return region;
48
    }
57
    }
49
 
58
 
50
    public void setRegion(String region) {
59
    public void setRegion(String region) {
Line 54... Line 63...
54
    @Override
63
    @Override
55
    public boolean equals(Object o) {
64
    public boolean equals(Object o) {
56
        if (this == o) return true;
65
        if (this == o) return true;
57
        if (o == null || getClass() != o.getClass()) return false;
66
        if (o == null || getClass() != o.getClass()) return false;
58
        PrintResourceModel that = (PrintResourceModel) o;
67
        PrintResourceModel that = (PrintResourceModel) o;
59
        return Objects.equals(title, that.title) && Objects.equals(startDate, that.startDate) && Objects.equals(endDate, that.endDate) && Objects.equals(imgUrl, that.imgUrl) && Objects.equals(region, that.region);
68
        return Objects.equals(title, that.title) && Objects.equals(startDate, that.startDate) && Objects.equals(endDate, that.endDate) && Objects.equals(imgUrl, that.imgUrl) && Objects.equals(thumbnailUrl, that.thumbnailUrl) && Objects.equals(region, that.region);
60
    }
69
    }
61
 
70
 
62
    @Override
71
    @Override
63
    public int hashCode() {
72
    public int hashCode() {
64
        return Objects.hash(title, startDate, endDate, imgUrl, region);
73
        return Objects.hash(title, startDate, endDate, imgUrl, thumbnailUrl, region);
65
    }
74
    }
66
 
75
 
67
    @Override
76
    @Override
68
    public String toString() {
77
    public String toString() {
69
        return "PrintResourceModel{" +
78
        return "PrintResourceModel{" +
70
                "title='" + title + '\'' +
79
                "title='" + title + '\'' +
71
                ", startDate=" + startDate +
80
                ", startDate=" + startDate +
72
                ", endDate=" + endDate +
81
                ", endDate=" + endDate +
73
                ", imgUrl='" + imgUrl + '\'' +
82
                ", imgUrl='" + imgUrl + '\'' +
-
 
83
                ", thumbnailUrl='" + thumbnailUrl + '\'' +
74
                ", region='" + region + '\'' +
84
                ", region='" + region + '\'' +
75
                '}';
85
                '}';
76
    }
86
    }
77
}
87
}