Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.entity.fofo;import javax.persistence.Column;import javax.persistence.Entity;import javax.persistence.GeneratedValue;import javax.persistence.GenerationType;import javax.persistence.Id;import javax.persistence.Table;import java.io.Serializable;/*** Maps an {@link ApiClient} to the catalog categories it is allowed to see.*/@Entity@Table(name = "fofo.api_client_category")public class ApiClientCategory implements Serializable {private static final long serialVersionUID = 1L;@Id@Column(name = "id", columnDefinition = "int(10) unsigned")@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "api_client_id")private int apiClientId;@Column(name = "category_id")private int categoryId;public int getId() {return id;}public void setId(int id) {this.id = id;}public int getApiClientId() {return apiClientId;}public void setApiClientId(int apiClientId) {this.apiClientId = apiClientId;}public int getCategoryId() {return categoryId;}public void setCategoryId(int categoryId) {this.categoryId = categoryId;}}