Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
22858 ashik.ali 1
package com.spice.profitmandi.common.model;
2
 
23886 amit.gupta 3
import java.time.LocalDateTime;
22858 ashik.ali 4
import java.util.Set;
5
 
6
public class CreateSchemeRequest {
7
 
23886 amit.gupta 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
 
22858 ashik.ali 21
	private String name;
22
	private String description;
23
	private String type;
24
	private String amountType;
25
	private float amount;
23886 amit.gupta 26
	private LocalDateTime startDate;
27
	private LocalDateTime endDate;
22858 ashik.ali 28
	private boolean retailerAll;
29
	private Set<Integer> retailerIds;
30
	private Set<Integer> itemIds;
31
 
23886 amit.gupta 32
 
22858 ashik.ali 33
	public String getName() {
34
		return name;
35
	}
36
	public void setName(String name) {
37
		this.name = name;
38
	}
39
	public String getDescription() {
40
		return description;
41
	}
42
	public void setDescription(String description) {
43
		this.description = description;
44
	}
45
	public String getType() {
46
		return type;
47
	}
48
	public void setType(String type) {
49
		this.type = type;
50
	}
51
	public String getAmountType() {
52
		return amountType;
53
	}
54
	public void setAmountType(String amountType) {
55
		this.amountType = amountType;
56
	}
57
	public float getAmount() {
58
		return amount;
59
	}
60
	public void setAmount(float amount) {
61
		this.amount = amount;
62
	}
23017 ashik.ali 63
 
22858 ashik.ali 64
	public boolean isRetailerAll() {
65
		return retailerAll;
66
	}
67
	public void setRetailerAll(boolean retailerAll) {
68
		this.retailerAll = retailerAll;
69
	}
70
	public Set<Integer> getRetailerIds() {
71
		return retailerIds;
72
	}
73
	public void setRetailerIds(Set<Integer> retailerIds) {
74
		this.retailerIds = retailerIds;
75
	}
76
 
77
	public Set<Integer> getItemIds() {
78
		return itemIds;
79
	}
80
 
81
	public void setItemIds(Set<Integer> itemIds) {
82
		this.itemIds = itemIds;
83
	}
84
 
85
	@Override
86
	public String toString() {
87
		return "CreateSchemeRequest [name=" + name + ", description=" + description + ", type=" + type + ", amountType="
23886 amit.gupta 88
				+ amountType + ", amount=" + amount + ", startDate=" + startDate + ", endDate=" + endDate
89
				+ ", retailerAll=" + retailerAll + ", retailerIds=" + retailerIds + ", itemIds=" + itemIds + "]";
22858 ashik.ali 90
	}
91
}