Last change
on this file since 013e0bc was e6b2246, checked in by milamihajlovska <mila.mihajlovska01@…>, 22 months ago |
added models
|
-
Property mode
set to
100644
|
File size:
349 bytes
|
Line | |
---|
1 | package com.example.moviezone.model;
|
---|
2 |
|
---|
3 | import jakarta.persistence.*;
|
---|
4 | import lombok.Getter;
|
---|
5 | import lombok.Setter;
|
---|
6 | import lombok.ToString;
|
---|
7 |
|
---|
8 | @Entity
|
---|
9 | @Getter
|
---|
10 | @Setter
|
---|
11 | @ToString
|
---|
12 | @Table(name = "cinemas")
|
---|
13 | public class Cinema {
|
---|
14 |
|
---|
15 | @Id
|
---|
16 | @GeneratedValue(strategy = GenerationType.IDENTITY)
|
---|
17 | Integer id_cinema;
|
---|
18 |
|
---|
19 | String name;
|
---|
20 |
|
---|
21 | String location;
|
---|
22 |
|
---|
23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.