Subversion Repositories SmartDukaan

Rev

Rev 31483 | Rev 31493 | Go to most recent revision | 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.Id;
import javax.persistence.Table;

@Entity
@Table(name = "catalog.brand_category", schema = "catalog")
public class BrandCategory {

        @Id
        @Column(name = "id", columnDefinition = "int(11)")
        private int id;

        @Column(name = "brand_id")
        private int brandId;

        @Column(name = "category_id")
        private String 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 String getCategoryId() {
                return categoryId;
        }

        public void setCategoryId(String 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;
        }

        @Override
        public String toString() {
                return "BrandCategory [id=" + id + ", brandId=" + brandId + ", categoryId=" + categoryId + ", rank=" + rank
                                + ", active=" + active + "]";
        }

}