Subversion Repositories SmartDukaan

Rev

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

Rev 31147 Rev 33795
Line 1... Line 1...
1
package com.spice.profitmandi.dao.model;
1
package com.spice.profitmandi.dao.model;
2
 
2
 
-
 
3
import com.spice.profitmandi.common.enumuration.OfferType;
-
 
4
 
3
import java.time.LocalDateTime;
5
import java.time.LocalDateTime;
4
 
6
 
5
public class CustomerOfferItemModel {
7
public class CustomerOfferItemModel {
6
 
8
 
7
	private int catalogId;
9
	private int catalogId;
8
	private int customerOfferId;
10
	private int customerOfferId;
9
	private int schemePayout;
11
	private int schemePayout;
10
	private int dealerPayout;
12
	private int dealerPayout;
-
 
13
    private OfferType offerType;
11
	private LocalDateTime startDate;
14
	private LocalDateTime startDate;
12
	private LocalDateTime endDate;
15
	private LocalDateTime endDate;
13
	private int offerId;
16
	private int offerId;
14
 
17
 
15
	public int getOfferId() {
18
	public int getOfferId() {
Line 66... Line 69...
66
 
69
 
67
	public void setEndDate(LocalDateTime endDate) {
70
	public void setEndDate(LocalDateTime endDate) {
68
		this.endDate = endDate;
71
		this.endDate = endDate;
69
	}
72
	}
70
 
73
 
-
 
74
    public OfferType getOfferType() {
-
 
75
        return offerType;
-
 
76
    }
-
 
77
 
-
 
78
    public void setOfferType(OfferType offerType) {
-
 
79
        this.offerType = offerType;
-
 
80
    }
-
 
81
 
71
	@Override
82
	@Override
72
	public String toString() {
83
	public String toString() {
-
 
84
        return "CustomerOfferItemModel{" +
-
 
85
                "catalogId=" + catalogId +
73
		return "CustomerOfferItemModel [catalogId=" + catalogId + ", customerOfferId=" + customerOfferId
86
                ", customerOfferId=" + customerOfferId +
-
 
87
                ", schemePayout=" + schemePayout +
74
				+ ", schemePayout=" + schemePayout + ", dealerPayout=" + dealerPayout + ", startDate=" + startDate
88
                ", dealerPayout=" + dealerPayout +
-
 
89
                ", offerType=" + offerType +
-
 
90
                ", startDate=" + startDate +
-
 
91
                ", endDate=" + endDate +
75
				+ ", endDate=" + endDate + ", offerId=" + offerId + "]";
92
                ", offerId=" + offerId +
-
 
93
                '}';
76
	}
94
	}
77
 
-
 
78
}
95
}