Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
33658 tejus.loha 1
package com.spice.profitmandi.dao.entity.onBoarding;
2
 
3
import javax.persistence.Column;
4
import javax.persistence.Entity;
5
import javax.persistence.Id;
6
import javax.persistence.Table;
7
 
8
@Entity
9
@Table(name = "fofo.brand_commit")
10
public class BrandCommit {
11
    @Id
12
    @Column(name = "id")
13
    private int id;
14
    @Column(name = "brand")
15
    private String brand;
33879 tejus.loha 16
    @Column(name = "noc_required")
17
    private boolean nocRequired;
18
    @Column(name = "active")
19
    private boolean active;
33658 tejus.loha 20
 
33879 tejus.loha 21
    public boolean isNocRequired() {
22
        return nocRequired;
23
    }
24
 
25
    public void setNocRequired(boolean nocRequired) {
26
        this.nocRequired = nocRequired;
27
    }
28
 
29
    public boolean isActive() {
30
        return active;
31
    }
32
 
33
    public void setActive(boolean active) {
34
        this.active = active;
35
    }
36
 
33658 tejus.loha 37
    public BrandCommit() {
38
    }
39
 
40
    public BrandCommit(int id, String brand) {
41
        this.id = id;
42
        this.brand = brand;
43
    }
44
 
45
    public BrandCommit(String brand) {
46
        this.brand = brand;
47
    }
48
 
49
    public int getId() {
50
        return id;
51
    }
52
 
53
    public void setId(int id) {
54
        this.id = id;
55
    }
56
 
57
    public String getBrand() {
58
        return brand;
59
    }
60
 
61
    public void setBrand(String brand) {
62
        this.brand = brand;
63
    }
64
 
65
    @Override
66
    public String toString() {
33908 tejus.loha 67
        return "BrandCommit{" +
33658 tejus.loha 68
                "id=" + id +
33908 tejus.loha 69
                ", brand='" + brand + '\'' +
70
                ", nocRequired=" + nocRequired +
71
                ", active=" + active +
33658 tejus.loha 72
                '}';
73
    }
74
}