Subversion Repositories SmartDukaan

Rev

Rev 33879 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.entity.onBoarding;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "fofo.brand_commit")
public class BrandCommit {
    @Id
    @Column(name = "id")
    private int id;
    @Column(name = "brand")
    private String brand;
    @Column(name = "noc_required")
    private boolean nocRequired;
    @Column(name = "active")
    private boolean active;

    public boolean isNocRequired() {
        return nocRequired;
    }

    public void setNocRequired(boolean nocRequired) {
        this.nocRequired = nocRequired;
    }

    public boolean isActive() {
        return active;
    }

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

    public BrandCommit() {
    }

    public BrandCommit(int id, String brand) {
        this.id = id;
        this.brand = brand;
    }

    public BrandCommit(String brand) {
        this.brand = brand;
    }

    public int getId() {
        return id;
    }

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

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    @Override
    public String toString() {
        return "BrandCommit{" +
                "id=" + id +
                ", brand='" + brand + '\'' +
                ", nocRequired=" + nocRequired +
                ", active=" + active +
                '}';
    }
}