Subversion Repositories SmartDukaan

Rev

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

Rev 28493 Rev 32548
Line 1... Line 1...
1
package com.spice.profitmandi.dao.hrms;
1
package com.spice.profitmandi.dao.hrms;
2
 
2
 
3
import java.util.List;
3
import java.util.List;
-
 
4
import java.util.Objects;
4
 
5
 
5
public class CreateNewSupplier {
6
public class CreateNewSupplier {
6
 
7
 
7
	private String name;
8
	private String name;
8
	private String phone;
9
	private String phone;
Line 11... Line 12...
11
	private String fax;
12
	private String fax;
12
	private String headName;
13
	private String headName;
13
	private String headDesign;
14
	private String headDesign;
14
	private String headEmail;
15
	private String headEmail;
15
	private String contactPerson;
16
	private String contactPerson;
-
 
17
	private String contactPhone;
16
	private String contactEmail;
18
	private String contactEmail;
17
	private String contactFax;
19
	private String contactFax;
18
	private String registeredAddress;
20
	private String registeredAddress;
19
	private String communicationAddress;
21
	private String communicationAddress;
20
	private String termConditions;
22
	private String termConditions;
21
	private List<Integer> warehouseId;
23
	private List<Integer> warehouseId;
-
 
24
	private int internalWarehouseId ;
22
	private int state;
25
	private int state;
23
	private int pOValidityLimit;
26
	private int pOValidityLimit;
24
	public String getName() {
27
	public String getName() {
25
		return name;
28
		return name;
26
	}
29
	}
Line 31... Line 34...
31
		return phone;
34
		return phone;
32
	}
35
	}
33
	public void setPhone(String phone) {
36
	public void setPhone(String phone) {
34
		this.phone = phone;
37
		this.phone = phone;
35
	}
38
	}
-
 
39
 
36
	public String getGst() {
40
	public String getGst() {
37
		return gst;
41
		return gst;
38
	}
42
	}
39
	public void setGst(String gst) {
43
	public void setGst(String gst) {
40
		this.gst = gst;
44
		this.gst = gst;
Line 73... Line 77...
73
		return contactPerson;
77
		return contactPerson;
74
	}
78
	}
75
	public void setContactPerson(String contactPerson) {
79
	public void setContactPerson(String contactPerson) {
76
		this.contactPerson = contactPerson;
80
		this.contactPerson = contactPerson;
77
	}
81
	}
-
 
82
 
-
 
83
	public String getContactPhone() {
-
 
84
		return contactPhone;
-
 
85
	}
-
 
86
 
-
 
87
	public void setContactPhone(String contactPhone) {
-
 
88
		this.contactPhone = contactPhone;
-
 
89
	}
78
	public String getContactEmail() {
90
	public String getContactEmail() {
79
		return contactEmail;
91
		return contactEmail;
80
	}
92
	}
81
	public void setContactEmail(String contactEmail) {
93
	public void setContactEmail(String contactEmail) {
82
		this.contactEmail = contactEmail;
94
		this.contactEmail = contactEmail;
Line 122... Line 134...
122
		return warehouseId;
134
		return warehouseId;
123
	}
135
	}
124
	public void setWarehouseId(List<Integer> warehouseId) {
136
	public void setWarehouseId(List<Integer> warehouseId) {
125
		this.warehouseId = warehouseId;
137
		this.warehouseId = warehouseId;
126
	}
138
	}
-
 
139
 
127
	@Override
140
	@Override
128
	public String toString() {
141
	public String toString() {
129
		return "CreateNewSupplier [name=" + name + ", phone=" + phone + ", gst=" + gst + ", pan=" + pan + ", fax=" + fax
142
		return "CreateNewSupplier{" +
-
 
143
				"name='" + name + '\'' +
-
 
144
				", phone='" + phone + '\'' +
-
 
145
				", gst='" + gst + '\'' +
-
 
146
				", pan='" + pan + '\'' +
-
 
147
				", fax='" + fax + '\'' +
-
 
148
				", headName='" + headName + '\'' +
130
				+ ", headName=" + headName + ", headDesign=" + headDesign + ", headEmail=" + headEmail
149
				", headDesign='" + headDesign + '\'' +
-
 
150
				", headEmail='" + headEmail + '\'' +
131
				+ ", contactPerson=" + contactPerson + ", contactEmail=" + contactEmail + ", contactFax=" + contactFax
151
				", contactPerson='" + contactPerson + '\'' +
-
 
152
 
-
 
153
				", contactPhone='" + contactPhone + '\'' +
-
 
154
				", contactEmail='" + contactEmail + '\'' +
-
 
155
				", contactFax='" + contactFax + '\'' +
132
				+ ", registeredAddress=" + registeredAddress + ", communicationAddress=" + communicationAddress
156
				", registeredAddress='" + registeredAddress + '\'' +
-
 
157
				", communicationAddress='" + communicationAddress + '\'' +
133
				+ ", termConditions=" + termConditions + ", warehouseId=" + warehouseId + ", state=" + state
158
				", termConditions='" + termConditions + '\'' +
-
 
159
				", warehouseId=" + warehouseId +
-
 
160
				", internalWarehouseId=" + internalWarehouseId +
-
 
161
				", state=" + state +
134
				+ ", pOValidityLimit=" + pOValidityLimit + "]";
162
				", pOValidityLimit=" + pOValidityLimit +
-
 
163
				'}';
-
 
164
	}
-
 
165
 
-
 
166
	public int getInternalWarehouseId() {
-
 
167
		return internalWarehouseId;
135
	}
168
	}
-
 
169
 
-
 
170
	public void setInternalWarehouseId(int internalWarehouseId) {
-
 
171
		this.internalWarehouseId = internalWarehouseId;
-
 
172
	}
-
 
173
 
136
	public CreateNewSupplier() {
174
	public CreateNewSupplier() {
137
		super();
175
		super();
138
		// TODO Auto-generated constructor stub
176
		// TODO Auto-generated constructor stub
139
	}
177
	}
140
	
178