Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
35337 aman 1
package com.spice.profitmandi.dao.entity.fofo;
2
 
3
import javax.persistence.*;
4
import java.time.LocalDateTime;
5
 
6
@Entity
7
@Table(name = "fofo.trial_brand_potential")
8
public class TrialBrandPotential {
9
 
10
    @Id
11
    @GeneratedValue(strategy = GenerationType.IDENTITY)
12
    @Column(name = "id")
13
    private int id;
14
 
15
    @Column(name = "trial_form_Id")
16
    private int trialFormId;
17
 
18
    @Column(name = "brand_name")
19
    private String brandName;
20
 
21
    @Column(name = "potential")
22
    private double potential;
23
 
24
 
25
    @Column(name = "created_at")
26
    private LocalDateTime createdAt;
27
 
28
    public TrialBrandPotential() {
29
    }
30
 
31
    public TrialBrandPotential(int id, int trialFormId, String brandName, double potential, LocalDateTime createdAt) {
32
        this.id = id;
33
        this.trialFormId = trialFormId;
34
        this.brandName = brandName;
35
        this.potential = potential;
36
        this.createdAt = createdAt;
37
    }
38
 
39
    public int getId() {
40
        return id;
41
    }
42
 
43
    public void setId(int id) {
44
        this.id = id;
45
    }
46
 
47
    public int getTrialFormId() {
48
        return trialFormId;
49
    }
50
 
51
    public void setTrialFormId(int trialFormId) {
52
        this.trialFormId = trialFormId;
53
    }
54
 
55
    public String getBrandName() {
56
        return brandName;
57
    }
58
 
59
    public void setBrandName(String brandName) {
60
        this.brandName = brandName;
61
    }
62
 
63
    public double getPotential() {
64
        return potential;
65
    }
66
 
67
    public void setPotential(double potential) {
68
        this.potential = potential;
69
    }
70
 
71
    public LocalDateTime getCreatedAt() {
72
        return createdAt;
73
    }
74
 
75
    public void setCreatedAt(LocalDateTime createdAt) {
76
        this.createdAt = createdAt;
77
    }
78
 
79
    @Override
80
    public String toString() {
81
        return "TrialBrandPotential{" +
82
                "id=" + id +
83
                ", trialFormId=" + trialFormId +
84
                ", brandName='" + brandName + '\'' +
85
                ", potential=" + potential +
86
                ", createdAt=" + createdAt +
87
                '}';
88
    }
89
}