Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
32737 amit.gupta 1
package com.spice.profitmandi.dao.entity.fofo;
2
 
32795 amit.gupta 3
import javax.persistence.*;
32737 amit.gupta 4
import java.time.LocalDateTime;
5
 
6
 
7
@Entity
37001 ranu 8
@Table(name = "fofo.retailer_contact",
9
        uniqueConstraints = @UniqueConstraint(
10
                name = "uk_retailer_contact_fofo_mobile",
11
                columnNames = {"fofoId", "mobile"}))
32737 amit.gupta 12
public class RetailerContact {
13
    @Id
32795 amit.gupta 14
    @GeneratedValue(strategy = GenerationType.IDENTITY)
15
    @Column
32737 amit.gupta 16
    private int id;
17
 
18
    @Column
19
    private int fofoId;
20
 
21
 
22
    @Column
23
    private String name;
24
 
25
    @Column
26
    private String mobile;
27
 
28
    @Column
29
    private LocalDateTime createdAt;
30
 
31
    @Column
32
    private boolean active;
33
 
35648 ranu 34
    @Column
35
    private String brandName;
36
 
37
    @Column
38
    private String contactType;
39
 
32737 amit.gupta 40
    public int getId() {
41
        return id;
42
    }
43
 
44
    public void setId(int id) {
45
        this.id = id;
46
    }
47
 
48
    public int getFofoId() {
49
        return fofoId;
50
    }
51
 
52
    public void setFofoId(int fofoId) {
53
        this.fofoId = fofoId;
54
    }
55
 
56
    public String getName() {
57
        return name;
58
    }
59
 
60
    public void setName(String name) {
61
        this.name = name;
62
    }
63
 
64
    public String getMobile() {
65
        return mobile;
66
    }
67
 
68
    public void setMobile(String mobile) {
69
        this.mobile = mobile;
70
    }
71
 
72
    public LocalDateTime getCreatedAt() {
73
        return createdAt;
74
    }
75
 
76
    public void setCreatedAt(LocalDateTime createdAt) {
77
        this.createdAt = createdAt;
78
    }
79
 
80
    public boolean isActive() {
81
        return active;
82
    }
83
 
84
    public void setActive(boolean active) {
85
        this.active = active;
86
    }
35648 ranu 87
 
88
    public String getBrandName() {
89
        return brandName;
90
    }
91
 
92
    public void setBrandName(String brandName) {
93
        this.brandName = brandName;
94
    }
95
 
96
    public String getContactType() {
97
        return contactType;
98
    }
99
 
100
    public void setContactType(String contactType) {
101
        this.contactType = contactType;
102
    }
32737 amit.gupta 103
}