Subversion Repositories SmartDukaan

Rev

Rev 32795 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
32737 amit.gupta 1
package com.spice.profitmandi.dao.entity.fofo;
2
 
3
import javax.persistence.Column;
4
import javax.persistence.Entity;
5
import javax.persistence.Id;
6
import javax.persistence.Table;
7
import java.time.LocalDateTime;
8
 
9
 
10
@Entity
11
@Table(name = "fofo.retailer_contacts")
12
public class RetailerContact {
13
    @Id
14
    @Column(name = "id")
15
    private int id;
16
 
17
    @Column
18
    private int fofoId;
19
 
20
 
21
    @Column
22
    private String name;
23
 
24
    @Column
25
    private String mobile;
26
 
27
    @Column
28
    private LocalDateTime createdAt;
29
 
30
    @Column
31
    private boolean active;
32
 
33
    public int getId() {
34
        return id;
35
    }
36
 
37
    public void setId(int id) {
38
        this.id = id;
39
    }
40
 
41
    public int getFofoId() {
42
        return fofoId;
43
    }
44
 
45
    public void setFofoId(int fofoId) {
46
        this.fofoId = fofoId;
47
    }
48
 
49
    public String getName() {
50
        return name;
51
    }
52
 
53
    public void setName(String name) {
54
        this.name = name;
55
    }
56
 
57
    public String getMobile() {
58
        return mobile;
59
    }
60
 
61
    public void setMobile(String mobile) {
62
        this.mobile = mobile;
63
    }
64
 
65
    public LocalDateTime getCreatedAt() {
66
        return createdAt;
67
    }
68
 
69
    public void setCreatedAt(LocalDateTime createdAt) {
70
        this.createdAt = createdAt;
71
    }
72
 
73
    public boolean isActive() {
74
        return active;
75
    }
76
 
77
    public void setActive(boolean active) {
78
        this.active = active;
79
    }
80
}