source: src/main/java/com/example/fooddeliverysystem/model/OrderHasFood.java

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 
1package com.example.fooddeliverysystem.model;
2
3import jakarta.persistence.*;
4import lombok.AllArgsConstructor;
5import lombok.Data;
6import lombok.NoArgsConstructor;
7@Entity
8@Table(name = "naracka_sodrzi_hrana")
9@Data
10@AllArgsConstructor
11@NoArgsConstructor
12public 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.