Subversion Repositories SmartDukaan

Rev

Rev 32737 | Go to most recent revision | 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
32795 amit.gupta 8
@Table(name = "fofo.retailer_contact")
32737 amit.gupta 9
public class RetailerContact {
10
    @Id
32795 amit.gupta 11
    @GeneratedValue(strategy = GenerationType.IDENTITY)
12
    @Column
32737 amit.gupta 13
    private int id;
14
 
15
    @Column
16
    private int fofoId;
17
 
18
 
19
    @Column
20
    private String name;
21
 
22
    @Column
23
    private String mobile;
24
 
25
    @Column
26
    private LocalDateTime createdAt;
27
 
28
    @Column
29
    private boolean active;
30
 
31
    public int getId() {
32
        return id;
33
    }
34
 
35
    public void setId(int id) {
36
        this.id = id;
37
    }
38
 
39
    public int getFofoId() {
40
        return fofoId;
41
    }
42
 
43
    public void setFofoId(int fofoId) {
44
        this.fofoId = fofoId;
45
    }
46
 
47
    public String getName() {
48
        return name;
49
    }
50
 
51
    public void setName(String name) {
52
        this.name = name;
53
    }
54
 
55
    public String getMobile() {
56
        return mobile;
57
    }
58
 
59
    public void setMobile(String mobile) {
60
        this.mobile = mobile;
61
    }
62
 
63
    public LocalDateTime getCreatedAt() {
64
        return createdAt;
65
    }
66
 
67
    public void setCreatedAt(LocalDateTime createdAt) {
68
        this.createdAt = createdAt;
69
    }
70
 
71
    public boolean isActive() {
72
        return active;
73
    }
74
 
75
    public void setActive(boolean active) {
76
        this.active = active;
77
    }
78
}