Last change
on this file was 8d11f8c, checked in by jovanmanchev <jovanmanchev3003@…>, 20 months ago |
code added, trial 2
|
-
Property mode
set to
100644
|
File size:
411 bytes
|
Line | |
---|
1 | package com.example.fooddeliverysystem.model;
|
---|
2 |
|
---|
3 | import jakarta.persistence.*;
|
---|
4 | import lombok.AllArgsConstructor;
|
---|
5 | import lombok.Data;
|
---|
6 | import lombok.NoArgsConstructor;
|
---|
7 | @Entity
|
---|
8 | @Table(name = "naracka_sodrzi_hrana")
|
---|
9 | @Data
|
---|
10 | @AllArgsConstructor
|
---|
11 | @NoArgsConstructor
|
---|
12 | public class OrderHasFood {
|
---|
13 |
|
---|
14 | @EmbeddedId
|
---|
15 | private OrderHasFoodKey orderHasFoodKey;
|
---|
16 |
|
---|
17 |
|
---|
18 |
|
---|
19 | @Column(name = "kolicina")
|
---|
20 | private Integer quantity;
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.