Rev 31494 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.entity.catalog;import javax.persistence.Column;import javax.persistence.Entity;import javax.persistence.GeneratedValue;import javax.persistence.GenerationType;import javax.persistence.Id;import javax.persistence.Table;@Entity@Table(name = "catalog.brand_category")public class BrandCategory {@Id@Column(name = "id", columnDefinition = "int(11)")@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "brand_id")private int brandId;@Column(name = "category_id")private int categoryId;@Column(name = "rank")private int rank;@Column(name = "active")private boolean active;public int getId() {return id;}public void setId(int id) {this.id = id;}public int getBrandId() {return brandId;}public void setBrandId(int brandId) {this.brandId = brandId;}public int getCategoryId() {return categoryId;}public void setCategoryId(int categoryId) {this.categoryId = categoryId;}public int getRank() {return rank;}public void setRank(int rank) {this.rank = rank;}public boolean isActive() {return active;}public void setActive(boolean active) {this.active = active;}@Overridepublic String toString() {return "BrandCategory [id=" + id + ", brandId=" + brandId + ", categoryId=" + categoryId + ", rank=" + rank+ ", active=" + active + "]";}}