Last change
on this file was 47f4eaf, checked in by Marko <Marko@…>, 2 years ago |
Final features implemented
|
-
Property mode
set to
100644
|
File size:
757 bytes
|
Line | |
---|
1 | package finki.it.phoneluxbackend.entities;
|
---|
2 |
|
---|
3 | import lombok.*;
|
---|
4 |
|
---|
5 | import javax.persistence.*;
|
---|
6 | import java.time.LocalDateTime;
|
---|
7 |
|
---|
8 |
|
---|
9 | @AllArgsConstructor
|
---|
10 | @NoArgsConstructor
|
---|
11 | @Getter
|
---|
12 | @Setter
|
---|
13 | @ToString
|
---|
14 | @Entity(name = "ScrapperInfo")
|
---|
15 | @Table(name = "scrapper_info")
|
---|
16 | public class ScrapperInfo {
|
---|
17 |
|
---|
18 | @Id
|
---|
19 | @Column(name = "id")
|
---|
20 | @GeneratedValue(strategy=GenerationType.IDENTITY)
|
---|
21 | private Long id;
|
---|
22 | @Column(name = "store")
|
---|
23 | private String store;
|
---|
24 | @Column(name = "status")
|
---|
25 | private String status;
|
---|
26 | @Column(name = "recieved_at")
|
---|
27 | private LocalDateTime recievedAt;
|
---|
28 |
|
---|
29 | public ScrapperInfo(String store, String status, LocalDateTime recievedAt) {
|
---|
30 | this.store = store;
|
---|
31 | this.status = status;
|
---|
32 | this.recievedAt = recievedAt;
|
---|
33 | }
|
---|
34 |
|
---|
35 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.