Subversion Repositories SmartDukaan

Rev

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

Rev 22524 Rev 22733
Line 1... Line 1...
1
 
1
 
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.RetailerType;
7
import com.spice.profitmandi.dao.enumuration.dtr.RetailerType;
7
import com.spice.profitmandi.dao.enumuration.dtr.SaleValue;
8
import com.spice.profitmandi.dao.enumuration.dtr.SaleValue;
8
 
9
 
9
public class CreateRetailerRequest {
10
public class CreateRetailerRequest {
10
 
11
 
11
    private String name;
12
    private String name;
12
    private String number;
13
    private String number;
13
    private RetailerType type;
14
    private RetailerType type;
14
    private String gstNumber;
15
    private String gstNumber;
15
    private SaleValue monthlySaleValue;
16
    private SaleValue monthlySaleValue;
16
    private SaleValue smartphoneSaleValue;
17
    private MonthlySaleVolume monthlySaleVolume;
17
    private Set<Category> categories;
18
    private Set<Category> categories;
18
    private LineOfBusiness lineOfBusiness;
19
    private LineOfBusiness lineOfBusiness;
19
    private int documentId;
20
    private int documentId;
20
    private Shop shop;
21
    private Shop shop;
21
    private boolean shopAddressSameAsRetailerAddress;
22
    private boolean shopAddressSameAsRetailerAddress;
Line 59... Line 60...
59
 
60
 
60
    public void setMonthlySaleValue(SaleValue monthlySaleValue) {
61
    public void setMonthlySaleValue(SaleValue monthlySaleValue) {
61
        this.monthlySaleValue = monthlySaleValue;
62
        this.monthlySaleValue = monthlySaleValue;
62
    }
63
    }
63
 
64
 
64
    public SaleValue getSmartphoneSaleValue() {
65
    public MonthlySaleVolume getMonthlySaleVolume() {
65
        return smartphoneSaleValue;
66
		return monthlySaleVolume;
66
    }
67
	}
67
 
68
    
68
    public void setSmartphoneSaleValue(SaleValue smartphoneSaleValue) {
69
    public void setMonthlySaleVolume(MonthlySaleVolume monthlySaleVolume) {
69
        this.smartphoneSaleValue = smartphoneSaleValue;
70
		this.monthlySaleVolume = monthlySaleVolume;
70
    }
71
	}
71
 
72
 
72
    public Set<Category> getCategories() {
73
    public Set<Category> getCategories() {
73
        return categories;
74
        return categories;
74
    }
75
    }
75
 
76
 
Line 123... Line 124...
123
	}
124
	}
124
    
125
    
125
	@Override
126
	@Override
126
	public String toString() {
127
	public String toString() {
127
		return "CreateRetailerRequest [name=" + name + ", number=" + number + ", type=" + type + ", gstNumber="
128
		return "CreateRetailerRequest [name=" + name + ", number=" + number + ", type=" + type + ", gstNumber="
128
				+ gstNumber + ", monthlySaleValue=" + monthlySaleValue + ", smartphoneSaleValue=" + smartphoneSaleValue
129
				+ gstNumber + ", monthlySaleValue=" + monthlySaleValue + ", monthlySaleVolume=" + monthlySaleVolume
129
				+ ", categories=" + categories + ", lineOfBusiness=" + lineOfBusiness + ", documentId=" + documentId
130
				+ ", categories=" + categories + ", lineOfBusiness=" + lineOfBusiness + ", documentId=" + documentId
130
				+ ", shop=" + shop + ", shopAddressSameAsRetailerAddress=" + shopAddressSameAsRetailerAddress
131
				+ ", shop=" + shop + ", shopAddressSameAsRetailerAddress=" + shopAddressSameAsRetailerAddress
131
				+ ", selfPickup=" + selfPickup + ", address=" + address + "]";
132
				+ ", selfPickup=" + selfPickup + ", address=" + address + "]";
132
	}
133
	}
133
 
134