Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
36562 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_flagship")
9
public class ModelFlagship {
10
 
11
    @Id
12
    @Column
13
    @GeneratedValue(strategy = GenerationType.IDENTITY)
14
    private int id;
15
 
16
    @Column(name = "catalog_item_id")
17
    private int catalogItemId;
18
 
19
    @Column(name = "start_date")
20
    private LocalDate startDate;
21
 
22
    @Column(name = "end_date")
23
    private LocalDate endDate;
24
 
25
    @Column(name = "created_on")
26
    private LocalDateTime createdOn;
27
 
28
    @Column(name = "created_by")
29
    private String createdBy;
30
 
31
    @Transient
32
    private String catalogDescription;
33
 
34
    public int getId() {
35
        return id;
36
    }
37
 
38
    public void setId(int id) {
39
        this.id = id;
40
    }
41
 
42
    public int getCatalogItemId() {
43
        return catalogItemId;
44
    }
45
 
46
    public void setCatalogItemId(int catalogItemId) {
47
        this.catalogItemId = catalogItemId;
48
    }
49
 
50
    public LocalDate getStartDate() {
51
        return startDate;
52
    }
53
 
54
    public void setStartDate(LocalDate startDate) {
55
        this.startDate = startDate;
56
    }
57
 
58
    public LocalDate getEndDate() {
59
        return endDate;
60
    }
61
 
62
    public void setEndDate(LocalDate endDate) {
63
        this.endDate = endDate;
64
    }
65
 
66
    public LocalDateTime getCreatedOn() {
67
        return createdOn;
68
    }
69
 
70
    public void setCreatedOn(LocalDateTime createdOn) {
71
        this.createdOn = createdOn;
72
    }
73
 
74
    public String getCreatedBy() {
75
        return createdBy;
76
    }
77
 
78
    public void setCreatedBy(String createdBy) {
79
        this.createdBy = createdBy;
80
    }
81
 
82
    public String getCatalogDescription() {
83
        return catalogDescription;
84
    }
85
 
86
    public void setCatalogDescription(String catalogDescription) {
87
        this.catalogDescription = catalogDescription;
88
    }
89
}