Subversion Repositories SmartDukaan

Rev

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

Rev 33845 Rev 33885
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;
12
    private String dmsCode;
13
    private String dmsCode;
13
    private String serviceName;
14
    private String serviceName;
14
    private Boolean active;
15
    private Boolean active;
15
    private ServiceType serviceType;
16
    private ServiceType serviceType;
16
 
17
 
17
    public WodFinMappingModel() {
18
    public WodFinMappingModel() {
18
    }
19
    }
19
 
20
 
20
    public WodFinMappingModel(Integer id, String code, String outletName, String city, String brandName, String dmsCode, String serviceName, String serviceType, Boolean active) {
21
    public WodFinMappingModel(Integer id, String code, String outletName, String city, String brandName, Boolean brandActive, String dmsCode, String serviceName, String serviceType, Boolean active) {
21
        super();
22
        super();
22
        this.id = id;
23
        this.id = id;
23
        this.code = code;
24
        this.code = code;
24
        this.outletName = outletName;
25
        this.outletName = outletName;
25
        this.city = city;
26
        this.city = city;
26
        this.brandName = brandName;
27
        this.brandName = brandName;
-
 
28
        this.brandActive = brandActive;
27
 
29
 
28
        if (dmsCode == null || dmsCode.isEmpty())
30
        if (dmsCode == null || dmsCode.isEmpty())
29
            this.dmsCode = "";
31
            this.dmsCode = "";
30
        else
32
        else
31
            this.dmsCode = dmsCode;
33
            this.dmsCode = dmsCode;
Line 38... Line 40...
38
        }
40
        }
39
        this.active = active;
41
        this.active = active;
40
 
42
 
41
    }
43
    }
42
 
44
 
-
 
45
    public Boolean getBrandActive() {
-
 
46
        return brandActive;
-
 
47
    }
-
 
48
 
-
 
49
    public void setBrandActive(Boolean brandActive) {
-
 
50
        this.brandActive = brandActive;
-
 
51
    }
-
 
52
 
43
    public Integer getId() {
53
    public Integer getId() {
44
        return id;
54
        return id;
45
    }
55
    }
46
 
56
 
47
    public void setId(Integer id) {
57
    public void setId(Integer id) {
Line 113... Line 123...
113
        this.serviceType = serviceType;
123
        this.serviceType = serviceType;
114
    }
124
    }
115
 
125
 
116
    @Override
126
    @Override
117
    public String toString() {
127
    public String toString() {
118
        return "WodFinMappingReportModel{" +
128
        return "WodFinMappingModel{" +
119
                "id='" + id + '\'' +
129
                "id=" + id +
120
                "code='" + code + '\'' +
130
                ", code='" + code + '\'' +
121
                ", outletName='" + outletName + '\'' +
131
                ", outletName='" + outletName + '\'' +
122
                ", city='" + city + '\'' +
132
                ", city='" + city + '\'' +
123
                ", brandName='" + brandName + '\'' +
133
                ", brandName='" + brandName + '\'' +
-
 
134
                ", brandActive=" + brandActive +
124
                ", dmsCode='" + dmsCode + '\'' +
135
                ", dmsCode='" + dmsCode + '\'' +
125
                ", serviceName='" + serviceName + '\'' +
136
                ", serviceName='" + serviceName + '\'' +
126
                ", serviceType='" + serviceType + '\'' +
137
                ", active=" + active +
127
                ", active='" + active + '\'' +
138
                ", serviceType=" + serviceType +
128
                '}';
139
                '}';
129
    }
140
    }
130
}
141
}