Subversion Repositories SmartDukaan

Rev

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

Rev 23017 Rev 23886
Line 1... Line 1...
1
package com.spice.profitmandi.common.model;
1
package com.spice.profitmandi.common.model;
2
 
2
 
-
 
3
import java.time.LocalDateTime;
3
import java.util.Set;
4
import java.util.Set;
4
 
5
 
5
public class CreateSchemeRequest {
6
public class CreateSchemeRequest {
6
	
7
	
-
 
8
	public LocalDateTime getStartDate() {
-
 
9
		return startDate;
-
 
10
	}
-
 
11
	public void setStartDate(LocalDateTime startDate) {
-
 
12
		this.startDate = startDate;
-
 
13
	}
-
 
14
	public LocalDateTime getEndDate() {
-
 
15
		return endDate;
-
 
16
	}
-
 
17
	public void setEndDate(LocalDateTime endDate) {
-
 
18
		this.endDate = endDate;
-
 
19
	}
-
 
20
 
7
	private String name;
21
	private String name;
8
	private String description;
22
	private String description;
9
	private String type;
23
	private String type;
10
	private String amountType;
24
	private String amountType;
11
	private float amount;
25
	private float amount;
12
	private String startDateTimeString;
26
	private LocalDateTime startDate;
13
	private String endDateTimeString;
27
	private LocalDateTime endDate;
14
	private boolean retailerAll;
28
	private boolean retailerAll;
15
	private Set<Integer> retailerIds;
29
	private Set<Integer> retailerIds;
16
	private Set<Integer> itemIds;
30
	private Set<Integer> itemIds;
17
	
31
	
-
 
32
	
18
	public String getName() {
33
	public String getName() {
19
		return name;
34
		return name;
20
	}
35
	}
21
	public void setName(String name) {
36
	public void setName(String name) {
22
		this.name = name;
37
		this.name = name;
Line 43... Line 58...
43
		return amount;
58
		return amount;
44
	}
59
	}
45
	public void setAmount(float amount) {
60
	public void setAmount(float amount) {
46
		this.amount = amount;
61
		this.amount = amount;
47
	}
62
	}
48
	public String getStartDateTimeString() {
-
 
49
		return startDateTimeString;
-
 
50
	}
-
 
51
	public void setStartDateTimeString(String startDateTimeString) {
-
 
52
		this.startDateTimeString = startDateTimeString;
-
 
53
	}
-
 
54
	public String getEndDateTimeString() {
-
 
55
		return endDateTimeString;
-
 
56
	}
-
 
57
	public void setEndDateTimeString(String endDateTimeString) {
-
 
58
		this.endDateTimeString = endDateTimeString;
-
 
59
	}
-
 
60
	
63
	
61
	public boolean isRetailerAll() {
64
	public boolean isRetailerAll() {
62
		return retailerAll;
65
		return retailerAll;
63
	}
66
	}
64
	public void setRetailerAll(boolean retailerAll) {
67
	public void setRetailerAll(boolean retailerAll) {
Line 80... Line 83...
80
	}
83
	}
81
	
84
	
82
	@Override
85
	@Override
83
	public String toString() {
86
	public String toString() {
84
		return "CreateSchemeRequest [name=" + name + ", description=" + description + ", type=" + type + ", amountType="
87
		return "CreateSchemeRequest [name=" + name + ", description=" + description + ", type=" + type + ", amountType="
85
				+ amountType + ", amount=" + amount + ", startDateTimeString=" + startDateTimeString + ", endDateTimeString="
88
				+ amountType + ", amount=" + amount + ", startDate=" + startDate + ", endDate=" + endDate
86
				+ endDateTimeString + ", retailerAll=" + retailerAll + ", retailerIds=" + retailerIds
89
				+ ", retailerAll=" + retailerAll + ", retailerIds=" + retailerIds + ", itemIds=" + itemIds + "]";
87
				+ ", itemIds=" + itemIds + "]";
-
 
88
	}
90
	}
89
}
91
}