source: src/main/java/com/example/moviezone/model/Work_Hours_Weekly.java

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 
1package com.example.moviezone.model;
2
3import javax.persistence.*;
4import lombok.Getter;
5import lombok.Setter;
6import lombok.ToString;
7
8import java.time.LocalDateTime;
9
10@Entity
11@Getter
12@Setter
13@ToString
14@Table(name = "work_hours_weekly")
15public 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.