Last change
on this file was 2269653, checked in by DenicaKj <dkorvezir@…>, 22 months ago |
First Run No error
|
-
Property mode
set to
100644
|
File size:
566 bytes
|
Line | |
---|
1 | package com.example.moviezone.model;
|
---|
2 |
|
---|
3 | import javax.persistence.*;
|
---|
4 | import lombok.Getter;
|
---|
5 | import lombok.Setter;
|
---|
6 | import lombok.ToString;
|
---|
7 |
|
---|
8 | import java.time.LocalDateTime;
|
---|
9 |
|
---|
10 | @Entity
|
---|
11 | @Getter
|
---|
12 | @Setter
|
---|
13 | @ToString
|
---|
14 | @Table(name = "work_hours_weekly")
|
---|
15 | public class Work_Hours_Weekly {
|
---|
16 |
|
---|
17 | @Id
|
---|
18 | @GeneratedValue(strategy = GenerationType.IDENTITY)
|
---|
19 | Integer id_work_hours;
|
---|
20 |
|
---|
21 | Integer week_number;
|
---|
22 |
|
---|
23 | String year_num;
|
---|
24 |
|
---|
25 | LocalDateTime hours_from;
|
---|
26 |
|
---|
27 | LocalDateTime hours_to;
|
---|
28 |
|
---|
29 | Boolean check_in;
|
---|
30 |
|
---|
31 | @ManyToOne
|
---|
32 | @JoinColumn(name = "id_worker")
|
---|
33 | Worker worker;
|
---|
34 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.