Subversion Repositories SmartDukaan

Rev

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

Rev 33885 Rev 33887
Line 7... Line 7...
7
    private Integer id;
7
    private Integer id;
8
    private String code;
8
    private String code;
9
    private String outletName;
9
    private String outletName;
10
    private String city;
10
    private String city;
11
    private String brandName;
11
    private String brandName;
12
    private Boolean brandActive;
-
 
13
    private String dmsCode;
12
    private String dmsCode;
14
    private String serviceName;
13
    private String serviceName;
15
    private Boolean active;
14
    private Boolean active;
16
    private ServiceType serviceType;
15
    private ServiceType serviceType;
17
 
16
 
18
    public WodFinMappingModel() {
17
    public WodFinMappingModel() {
19
    }
18
    }
20
 
19
 
21
    public WodFinMappingModel(Integer id, String code, String outletName, String city, String brandName, Boolean brandActive, String dmsCode, String serviceName, String serviceType, Boolean active) {
20
    public WodFinMappingModel(Integer id, String code, String outletName, String city, String brandName, String dmsCode, String serviceName, String serviceType, Boolean active) {
22
        super();
21
        super();
23
        this.id = id;
22
        this.id = id;
24
        this.code = code;
23
        this.code = code;
25
        this.outletName = outletName;
24
        this.outletName = outletName;
26
        this.city = city;
25
        this.city = city;
27
        this.brandName = brandName;
26
        this.brandName = brandName;
28
        this.brandActive = brandActive;
-
 
-
 
27
 
29
 
28
 
30
        if (dmsCode == null || dmsCode.isEmpty())
29
        if (dmsCode == null || dmsCode.isEmpty())
31
            this.dmsCode = "";
30
            this.dmsCode = "";
32
        else
31
        else
33
            this.dmsCode = dmsCode;
32
            this.dmsCode = dmsCode;
Line 40... Line 39...
40
        }
39
        }
41
        this.active = active;
40
        this.active = active;
42
 
41
 
43
    }
42
    }
44
 
43
 
45
    public Boolean getBrandActive() {
-
 
46
        return brandActive;
-
 
47
    }
-
 
48
 
-
 
49
    public void setBrandActive(Boolean brandActive) {
-
 
50
        this.brandActive = brandActive;
-
 
51
    }
-
 
52
 
44
 
53
    public Integer getId() {
45
    public Integer getId() {
54
        return id;
46
        return id;
55
    }
47
    }
56
 
48
 
Line 129... Line 121...
129
                "id=" + id +
121
                "id=" + id +
130
                ", code='" + code + '\'' +
122
                ", code='" + code + '\'' +
131
                ", outletName='" + outletName + '\'' +
123
                ", outletName='" + outletName + '\'' +
132
                ", city='" + city + '\'' +
124
                ", city='" + city + '\'' +
133
                ", brandName='" + brandName + '\'' +
125
                ", brandName='" + brandName + '\'' +
134
                ", brandActive=" + brandActive +
-
 
135
                ", dmsCode='" + dmsCode + '\'' +
126
                ", dmsCode='" + dmsCode + '\'' +
136
                ", serviceName='" + serviceName + '\'' +
127
                ", serviceName='" + serviceName + '\'' +
137
                ", active=" + active +
128
                ", active=" + active +
138
                ", serviceType=" + serviceType +
129
                ", serviceType=" + serviceType +
139
                '}';
130
                '}';