Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.web.model;

import java.util.ArrayList;
import java.util.List;

/**
 * One external API client with its mapped stores and categories, for the
 * Technology > External API Clients admin screen.
 */
public class ApiClientAccessModel {

    private int id;
    private String name;
    private boolean active;
    private List<String> stores = new ArrayList<>();
    private List<String> categories = new ArrayList<>();

    public ApiClientAccessModel() {
    }

    public ApiClientAccessModel(int id, String name, boolean active) {
        this.id = id;
        this.name = name;
        this.active = active;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

    public List<String> getStores() {
        return stores;
    }

    public void setStores(List<String> stores) {
        this.stores = stores;
    }

    public List<String> getCategories() {
        return categories;
    }

    public void setCategories(List<String> categories) {
        this.categories = categories;
    }
}