Subversion Repositories SmartDukaan

Rev

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

Rev 30158 Rev 31008
Line 1... Line 1...
1
package com.spice.profitmandi.dao.model;
1
package com.spice.profitmandi.dao.model;
2
 
2
 
3
 
3
 
-
 
4
import com.spice.profitmandi.dao.enumuration.catalog.AmountType;
-
 
5
import com.spice.profitmandi.dao.enumuration.catalog.SchemeType;
4
import com.spice.profitmandi.dao.enumuration.transaction.SchemePayoutStatus;
6
import com.spice.profitmandi.dao.enumuration.transaction.SchemePayoutStatus;
5
 
7
 
6
import java.time.LocalDateTime;
8
import java.time.LocalDateTime;
7
import com.spice.profitmandi.dao.enumuration.catalog.AmountType;
-
 
8
import com.spice.profitmandi.dao.enumuration.catalog.SchemeType;
-
 
9
 
9
 
10
public class SchemePayoutReportModel {
10
public class SchemePayoutReportModel {
11
	private int id;
11
	private int id;
12
	private String brand;
12
	private String brand;
13
	private String modelName;
13
	private String modelName;
14
	private String modelNumber;
14
	private String modelNumber;
15
	private String color;
15
	private String color;
16
	
16
 
17
	private float schemeInDp;
17
	private float schemeInDp;
18
	private float SchemeOutDp;
18
	private float schemeOutDp;
19
	private int schemeId;
19
	private int schemeId;
20
	
20
	
21
	private String name;
21
	private String name;
22
	private SchemeType type;
22
	private SchemeType type;
23
	private AmountType amountType;
23
	private AmountType amountType;
Line 82... Line 82...
82
 
82
 
83
	public void setSchemeInDp(float schemeInDp) {
83
	public void setSchemeInDp(float schemeInDp) {
84
		this.schemeInDp = schemeInDp;
84
		this.schemeInDp = schemeInDp;
85
	}
85
	}
86
 
86
 
-
 
87
	public SchemePayoutReportModel(int id, String brand, String modelName, String modelNumber, String color,
-
 
88
								   float schemeInDp, float schemeOutDp, int schemeId, String name, SchemeType type, AmountType amountType,
-
 
89
								   float amount, String purchaseReference, String invoiceNumber, float sioAmount, SchemePayoutStatus status,
-
 
90
								   String statusDescription, LocalDateTime createTimestamp, LocalDateTime rolledBackTimestamp,
-
 
91
								   String serialNumber) {
-
 
92
		super();
-
 
93
		this.id = id;
-
 
94
		this.brand = brand;
-
 
95
		this.modelName = modelName;
-
 
96
		this.modelNumber = modelNumber;
-
 
97
		this.color = color;
87
	public float getSchemeOutDp() {
98
		this.schemeInDp = schemeInDp;
88
		return SchemeOutDp;
99
		schemeOutDp = schemeOutDp;
-
 
100
		this.schemeId = schemeId;
-
 
101
		this.name = name;
-
 
102
		this.type = type;
-
 
103
		this.amountType = amountType;
-
 
104
		this.amount = amount;
-
 
105
		this.purchaseReference = purchaseReference;
-
 
106
		this.invoiceNumber = invoiceNumber;
-
 
107
		this.sioAmount = sioAmount;
-
 
108
		this.status = status;
-
 
109
		this.statusDescription = statusDescription;
-
 
110
		this.createTimestamp = createTimestamp;
-
 
111
		this.rolledBackTimestamp = rolledBackTimestamp;
-
 
112
		this.serialNumber = serialNumber;
89
	}
113
	}
90
 
114
 
91
	public void setSchemeOutDp(float schemeOutDp) {
115
	public float getSchemeOutDp() {
92
		SchemeOutDp = schemeOutDp;
116
		return schemeOutDp;
93
	}
117
	}
94
 
118
 
95
	public int getSchemeId() {
119
	public int getSchemeId() {
96
		return schemeId;
120
		return schemeId;
97
	}
121
	}
Line 193... Line 217...
193
	}
217
	}
194
 
218
 
195
	public void setSerialNumber(String serialNumber) {
219
	public void setSerialNumber(String serialNumber) {
196
		this.serialNumber = serialNumber;
220
		this.serialNumber = serialNumber;
197
	}
221
	}
198
	
222
 
-
 
223
	public void setSchemeOutDp(float schemeOutDp) {
-
 
224
		schemeOutDp = schemeOutDp;
199
	
225
	}
200
 
226
 
201
	@Override
227
	@Override
202
	public String toString() {
228
	public String toString() {
203
		return "SchemePayoutReportModel [id=" + id + ", brand=" + brand + ", modelName=" + modelName + ", modelNumber="
229
		return "SchemePayoutReportModel [id=" + id + ", brand=" + brand + ", modelName=" + modelName + ", modelNumber="
204
				+ modelNumber + ", color=" + color + ", schemeInDp=" + schemeInDp + ", SchemeOutDp=" + SchemeOutDp
230
				+ modelNumber + ", color=" + color + ", schemeInDp=" + schemeInDp + ", SchemeOutDp=" + schemeOutDp
205
				+ ", schemeId=" + schemeId + ", name=" + name + ", type=" + type + ", amountType=" + amountType
231
				+ ", schemeId=" + schemeId + ", name=" + name + ", type=" + type + ", amountType=" + amountType
206
				+ ", amount=" + amount + ", purchaseReference=" + purchaseReference + ", invoiceNumber=" + invoiceNumber
232
				+ ", amount=" + amount + ", purchaseReference=" + purchaseReference + ", invoiceNumber=" + invoiceNumber
207
				+ ", sioAmount=" + sioAmount + ", status=" + status + ", statusDescription=" + statusDescription
233
				+ ", sioAmount=" + sioAmount + ", status=" + status + ", statusDescription=" + statusDescription
208
				+ ", createTimestamp=" + createTimestamp + ", rolledBackTimestamp=" + rolledBackTimestamp
234
				+ ", createTimestamp=" + createTimestamp + ", rolledBackTimestamp=" + rolledBackTimestamp
209
				+ ", serialNumber=" + serialNumber + "]";
235
				+ ", serialNumber=" + serialNumber + "]";
210
	}
236
	}
211
 
237
 
212
	public SchemePayoutReportModel(int id, String brand, String modelName, String modelNumber, String color,
-
 
213
			float schemeInDp, float schemeOutDp, int schemeId, String name, SchemeType type, AmountType amountType,
-
 
214
			float amount, String purchaseReference, String invoiceNumber, float sioAmount, SchemePayoutStatus status,
-
 
215
			String statusDescription, LocalDateTime createTimestamp, LocalDateTime rolledBackTimestamp,
-
 
216
			String serialNumber) {
-
 
217
		super();
-
 
218
		this.id = id;
-
 
219
		this.brand = brand;
-
 
220
		this.modelName = modelName;
-
 
221
		this.modelNumber = modelNumber;
-
 
222
		this.color = color;
-
 
223
		this.schemeInDp = schemeInDp;
-
 
224
		SchemeOutDp = schemeOutDp;
-
 
225
		this.schemeId = schemeId;
-
 
226
		this.name = name;
-
 
227
		this.type = type;
-
 
228
		this.amountType = amountType;
-
 
229
		this.amount = amount;
-
 
230
		this.purchaseReference = purchaseReference;
-
 
231
		this.invoiceNumber = invoiceNumber;
-
 
232
		this.sioAmount = sioAmount;
-
 
233
		this.status = status;
-
 
234
		this.statusDescription = statusDescription;
-
 
235
		this.createTimestamp = createTimestamp;
-
 
236
		this.rolledBackTimestamp = rolledBackTimestamp;
-
 
237
		this.serialNumber = serialNumber;
-
 
238
	}
-
 
239
	
-
 
240
	
238
	
241
	
239
	
242
	
240
	
243
	
241
	
244
 
242