Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
37222 amit 1
package com.spice.profitmandi.web.model;
2
 
3
import java.util.ArrayList;
4
import java.util.List;
5
 
6
/**
7
 * One external API client with its mapped stores and categories, for the
8
 * Technology > External API Clients admin screen.
9
 */
10
public class ApiClientAccessModel {
11
 
12
    private int id;
13
    private String name;
14
    private boolean active;
15
    private List<String> stores = new ArrayList<>();
16
    private List<String> categories = new ArrayList<>();
17
 
18
    public ApiClientAccessModel() {
19
    }
20
 
21
    public ApiClientAccessModel(int id, String name, boolean active) {
22
        this.id = id;
23
        this.name = name;
24
        this.active = active;
25
    }
26
 
27
    public int getId() {
28
        return id;
29
    }
30
 
31
    public void setId(int id) {
32
        this.id = id;
33
    }
34
 
35
    public String getName() {
36
        return name;
37
    }
38
 
39
    public void setName(String name) {
40
        this.name = name;
41
    }
42
 
43
    public boolean isActive() {
44
        return active;
45
    }
46
 
47
    public void setActive(boolean active) {
48
        this.active = active;
49
    }
50
 
51
    public List<String> getStores() {
52
        return stores;
53
    }
54
 
55
    public void setStores(List<String> stores) {
56
        this.stores = stores;
57
    }
58
 
59
    public List<String> getCategories() {
60
        return categories;
61
    }
62
 
63
    public void setCategories(List<String> categories) {
64
        this.categories = categories;
65
    }
66
}