Subversion Repositories SmartDukaan

Rev

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

Rev 22733 Rev 23036
Line 2... Line 2...
2
package com.spice.profitmandi.web.req;
2
package com.spice.profitmandi.web.req;
3
 
3
 
4
import java.util.Set;
4
import java.util.Set;
5
 
5
 
6
import com.spice.profitmandi.dao.enumuration.dtr.MonthlySaleVolume;
6
import com.spice.profitmandi.dao.enumuration.dtr.MonthlySaleVolume;
-
 
7
import com.spice.profitmandi.dao.enumuration.dtr.PrimaryBuyingMode;
7
import com.spice.profitmandi.dao.enumuration.dtr.RetailerType;
8
import com.spice.profitmandi.dao.enumuration.dtr.RetailerType;
8
import com.spice.profitmandi.dao.enumuration.dtr.SaleValue;
9
import com.spice.profitmandi.dao.enumuration.dtr.SaleValue;
9
 
10
 
10
public class CreateRetailerRequest {
11
public class CreateRetailerRequest {
11
 
12
 
Line 13... Line 14...
13
    private String number;
14
    private String number;
14
    private RetailerType type;
15
    private RetailerType type;
15
    private String gstNumber;
16
    private String gstNumber;
16
    private SaleValue monthlySaleValue;
17
    private SaleValue monthlySaleValue;
17
    private MonthlySaleVolume monthlySaleVolume;
18
    private MonthlySaleVolume monthlySaleVolume;
-
 
19
    private PrimaryBuyingMode primaryBuyingMode;
18
    private Set<Category> categories;
20
    private Set<Category> categories;
19
    private LineOfBusiness lineOfBusiness;
21
    private LineOfBusiness lineOfBusiness;
20
    private int documentId;
22
    private int documentId;
21
    private Shop shop;
23
    private Shop shop;
22
    private boolean shopAddressSameAsRetailerAddress;
24
    private boolean shopAddressSameAsRetailerAddress;
Line 67... Line 69...
67
	}
69
	}
68
    
70
    
69
    public void setMonthlySaleVolume(MonthlySaleVolume monthlySaleVolume) {
71
    public void setMonthlySaleVolume(MonthlySaleVolume monthlySaleVolume) {
70
		this.monthlySaleVolume = monthlySaleVolume;
72
		this.monthlySaleVolume = monthlySaleVolume;
71
	}
73
	}
-
 
74
    
-
 
75
    public PrimaryBuyingMode getPrimaryBuyingMode() {
-
 
76
		return primaryBuyingMode;
-
 
77
	}
-
 
78
    
-
 
79
    public void setPrimaryBuyingMode(PrimaryBuyingMode primaryBuyingMode) {
-
 
80
		this.primaryBuyingMode = primaryBuyingMode;
-
 
81
	}
72
 
82
 
73
    public Set<Category> getCategories() {
83
    public Set<Category> getCategories() {
74
        return categories;
84
        return categories;
75
    }
85
    }
76
 
86
 
Line 120... Line 130...
120
		return selfPickup;
130
		return selfPickup;
121
	}
131
	}
122
    public void setSelfPickup(boolean selfPickup) {
132
    public void setSelfPickup(boolean selfPickup) {
123
		this.selfPickup = selfPickup;
133
		this.selfPickup = selfPickup;
124
	}
134
	}
125
    
135
 
126
	@Override
136
	@Override
127
	public String toString() {
137
	public String toString() {
128
		return "CreateRetailerRequest [name=" + name + ", number=" + number + ", type=" + type + ", gstNumber="
138
		return "CreateRetailerRequest [name=" + name + ", number=" + number + ", type=" + type + ", gstNumber="
129
				+ gstNumber + ", monthlySaleValue=" + monthlySaleValue + ", monthlySaleVolume=" + monthlySaleVolume
139
				+ gstNumber + ", monthlySaleValue=" + monthlySaleValue + ", monthlySaleVolume=" + monthlySaleVolume
130
				+ ", categories=" + categories + ", lineOfBusiness=" + lineOfBusiness + ", documentId=" + documentId
140
				+ ", primaryBuyingMode=" + primaryBuyingMode + ", categories=" + categories + ", lineOfBusiness="
-
 
141
				+ lineOfBusiness + ", documentId=" + documentId + ", shop=" + shop
131
				+ ", shop=" + shop + ", shopAddressSameAsRetailerAddress=" + shopAddressSameAsRetailerAddress
142
				+ ", shopAddressSameAsRetailerAddress=" + shopAddressSameAsRetailerAddress + ", selfPickup="
132
				+ ", selfPickup=" + selfPickup + ", address=" + address + "]";
143
				+ selfPickup + ", address=" + address + "]";
133
	}
144
	}
134
 
145
 
135
}
146
}