Subversion Repositories SmartDukaan

Rev

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

Rev 22356 Rev 22419
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 javax.validation.constraints.NotNull;
-
 
7
 
-
 
8
import com.spice.profitmandi.dao.enumuration.dtr.RetailerType;
6
import com.spice.profitmandi.dao.enumuration.dtr.RetailerType;
9
import com.spice.profitmandi.dao.enumuration.dtr.SaleValue;
7
import com.spice.profitmandi.dao.enumuration.dtr.SaleValue;
10
 
8
 
11
public class CreateRetailerRequest {
9
public class CreateRetailerRequest {
12
 
10
 
13
	@NotNull
-
 
14
    private String name;
11
    private String name;
15
	@NotNull
-
 
16
    private String number;
12
    private String number;
17
    private RetailerType type;
13
    private RetailerType type;
18
    private String gstNumber;
14
    private String gstNumber;
19
    private SaleValue monthlySaleValue;
15
    private SaleValue monthlySaleValue;
20
    private SaleValue smartphoneSaleValue;
16
    private SaleValue smartphoneSaleValue;
21
    private Set<Category> categories;
17
    private Set<Category> categories;
22
    private LineOfBusiness lineOfBusiness;
18
    private LineOfBusiness lineOfBusiness;
23
    private int documentId;
19
    private int documentId;
24
    @NotNull
-
 
25
    private Shop shop;
20
    private Shop shop;
26
    private boolean shopAddressSameAsRetailerAddress;
21
    private boolean shopAddressSameAsRetailerAddress;
27
    private boolean selfPickup;
22
    private boolean selfPickup;
28
    @NotNull
-
 
29
    private Address address;
23
    private Address address;
30
 
24
 
31
    public String getName() {
25
    public String getName() {
32
        return name;
26
        return name;
33
    }
27
    }