Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
37211 amit 1
package com.spice.profitmandi.dao.entity.catalog;
2
 
3
import javax.persistence.*;
4
import java.time.LocalDate;
5
import java.time.LocalDateTime;
6
 
7
@Entity
8
@Table(name = "catalog.model_hot_deal")
9
public class ModelHotDeal {
10
 
11
    @Id
12
    @Column
13
    @GeneratedValue(strategy = GenerationType.IDENTITY)
14
    private int id;
15
 
16
    @Column(name = "brand_id")
17
    private int brandId;
18
 
19
    @Column(name = "catalog_item_id")
20
    private int catalogItemId;
21
 
22
    @Column(name = "start_date")
23
    private LocalDate startDate;
24
 
25
    @Column(name = "end_date")
26
    private LocalDate endDate;
27
 
28
    @Column(name = "created_on")
29
    private LocalDateTime createdOn;
30
 
31
    @Column(name = "created_by")
32
    private String createdBy;
33
 
34
    @Column(name = "modified_on")
35
    private LocalDateTime modifiedOn;
36
 
37
    @Column(name = "modified_by")
38
    private String modifiedBy;
39
 
40
    @Transient
41
    private String catalogDescription;
42
 
43
    @Transient
44
    private String status;
45
 
46
    public int getId() {
47
        return id;
48
    }
49
 
50
    public void setId(int id) {
51
        this.id = id;
52
    }
53
 
54
    public int getBrandId() {
55
        return brandId;
56
    }
57
 
58
    public void setBrandId(int brandId) {
59
        this.brandId = brandId;
60
    }
61
 
62
    public int getCatalogItemId() {
63
        return catalogItemId;
64
    }
65
 
66
    public void setCatalogItemId(int catalogItemId) {
67
        this.catalogItemId = catalogItemId;
68
    }
69
 
70
    public LocalDate getStartDate() {
71
        return startDate;
72
    }
73
 
74
    public void setStartDate(LocalDate startDate) {
75
        this.startDate = startDate;
76
    }
77
 
78
    public LocalDate getEndDate() {
79
        return endDate;
80
    }
81
 
82
    public void setEndDate(LocalDate endDate) {
83
        this.endDate = endDate;
84
    }
85
 
86
    public LocalDateTime getCreatedOn() {
87
        return createdOn;
88
    }
89
 
90
    public void setCreatedOn(LocalDateTime createdOn) {
91
        this.createdOn = createdOn;
92
    }
93
 
94
    public String getCreatedBy() {
95
        return createdBy;
96
    }
97
 
98
    public void setCreatedBy(String createdBy) {
99
        this.createdBy = createdBy;
100
    }
101
 
102
    public LocalDateTime getModifiedOn() {
103
        return modifiedOn;
104
    }
105
 
106
    public void setModifiedOn(LocalDateTime modifiedOn) {
107
        this.modifiedOn = modifiedOn;
108
    }
109
 
110
    public String getModifiedBy() {
111
        return modifiedBy;
112
    }
113
 
114
    public void setModifiedBy(String modifiedBy) {
115
        this.modifiedBy = modifiedBy;
116
    }
117
 
118
    public String getCatalogDescription() {
119
        return catalogDescription;
120
    }
121
 
122
    public void setCatalogDescription(String catalogDescription) {
123
        this.catalogDescription = catalogDescription;
124
    }
125
 
126
    public String getStatus() {
127
        return status;
128
    }
129
 
130
    public void setStatus(String status) {
131
        this.status = status;
132
    }
133
}