Subversion Repositories SmartDukaan

Rev

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

Rev 21390 Rev 21426
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.List;
4
import java.util.Set;
5
 
5
 
-
 
6
import com.spice.profitmandi.dao.enumuration.RetailerType;
-
 
7
import com.spice.profitmandi.dao.enumuration.SaleValue;
-
 
8
 
6
public class CreateRetailerRequestModel {
9
public class CreateRetailerRequest {
7
 
10
 
8
    private String name;
11
    private String name;
9
    private String number;
12
    private String number;
10
    private String type;
13
    private RetailerType type;
11
    private String monthlySaleValue;
14
    private SaleValue monthlySaleValue;
12
    private String smartphoneSaleValue;
15
    private SaleValue smartphoneSaleValue;
13
    private List<String> brandNames = null;
16
    private Set<String> brandNames;
14
    private Boolean recharge;
-
 
15
    private Boolean mobile;
-
 
16
    private Boolean accessories;
17
    private LineOfBusiness lineOfBusiness;
17
    private Boolean other1;
-
 
18
    private Boolean other2;
-
 
19
    private String documentId;
18
    private long documentId;
20
    private Shop shop;
19
    private Shop shop;
21
    private Address address;
20
    private Address address;
22
 
21
 
23
    public String getName() {
22
    public String getName() {
24
        return name;
23
        return name;
Line 34... Line 33...
34
 
33
 
35
    public void setNumber(String number) {
34
    public void setNumber(String number) {
36
        this.number = number;
35
        this.number = number;
37
    }
36
    }
38
 
37
 
39
    public String getType() {
38
    public RetailerType getType() {
40
        return type;
39
		return type;
41
    }
-
 
42
 
40
	}
43
    public void setType(String type) {
41
    public void setType(RetailerType type) {
44
        this.type = type;
42
		this.type = type;
-
 
43
	}
-
 
44
    
45
    }
45
    
46
 
46
 
47
    public String getMonthlySaleValue() {
47
    public SaleValue getMonthlySaleValue() {
48
        return monthlySaleValue;
48
        return monthlySaleValue;
49
    }
49
    }
50
 
50
 
51
    public void setMonthlySaleValue(String monthlySaleValue) {
51
    public void setMonthlySaleValue(SaleValue monthlySaleValue) {
52
        this.monthlySaleValue = monthlySaleValue;
52
        this.monthlySaleValue = monthlySaleValue;
53
    }
53
    }
54
 
54
 
55
    public String getSmartphoneSaleValue() {
55
    public SaleValue getSmartphoneSaleValue() {
56
        return smartphoneSaleValue;
56
        return smartphoneSaleValue;
57
    }
57
    }
58
 
58
 
59
    public void setSmartphoneSaleValue(String smartphoneSaleValue) {
59
    public void setSmartphoneSaleValue(SaleValue smartphoneSaleValue) {
60
        this.smartphoneSaleValue = smartphoneSaleValue;
60
        this.smartphoneSaleValue = smartphoneSaleValue;
61
    }
61
    }
62
 
62
 
63
    public List<String> getBrandNames() {
63
    public Set<String> getBrandNames() {
64
        return brandNames;
64
        return brandNames;
65
    }
65
    }
66
 
66
 
67
    public void setBrandNames(List<String> brandNames) {
67
    public void setBrandNames(Set<String> brandNames) {
68
        this.brandNames = brandNames;
68
        this.brandNames = brandNames;
69
    }
69
    }
70
 
70
 
71
    public Boolean getRecharge() {
-
 
72
        return recharge;
-
 
73
    }
-
 
74
 
-
 
75
    public void setRecharge(Boolean recharge) {
-
 
76
        this.recharge = recharge;
-
 
77
    }
-
 
78
 
-
 
79
    public Boolean getMobile() {
-
 
80
        return mobile;
-
 
81
    }
-
 
82
 
-
 
83
    public void setMobile(Boolean mobile) {
-
 
84
        this.mobile = mobile;
-
 
85
    }
-
 
86
 
-
 
87
    public Boolean getAccessories() {
71
    public LineOfBusiness getLineOfBusiness() {
88
        return accessories;
72
		return lineOfBusiness;
89
    }
-
 
90
 
73
	}
91
    public void setAccessories(Boolean accessories) {
74
    public void setLineOfBusiness(LineOfBusiness lineOfBusiness) {
92
        this.accessories = accessories;
75
		this.lineOfBusiness = lineOfBusiness;
93
    }
-
 
94
 
-
 
95
    public Boolean getOther1() {
-
 
96
        return other1;
-
 
97
    }
-
 
98
 
-
 
99
    public void setOther1(Boolean other1) {
-
 
100
        this.other1 = other1;
-
 
101
    }
-
 
102
 
-
 
103
    public Boolean getOther2() {
-
 
104
        return other2;
-
 
105
    }
-
 
106
 
76
	}
107
    public void setOther2(Boolean other2) {
-
 
108
        this.other2 = other2;
-
 
109
    }
-
 
110
 
77
 
111
    public String getDocumentId() {
78
    public long getDocumentId() {
112
        return documentId;
79
        return documentId;
113
    }
80
    }
114
 
81
 
115
    public void setDocumentId(String documentId) {
82
    public void setDocumentId(long documentId) {
116
        this.documentId = documentId;
83
        this.documentId = documentId;
117
    }
84
    }
118
 
85
 
119
    public Shop getShop() {
86
    public Shop getShop() {
120
        return shop;
87
        return shop;