- Timestamp:
- 04/30/25 18:24:41 (2 weeks ago)
- Branches:
- main
- Children:
- 2518b3a
- Parents:
- deea3c4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/rezevirajmasa/demo/model/Menu.java
rdeea3c4 re15e8d9 1 1 package com.example.rezevirajmasa.demo.model; 2 2 3 import com.fasterxml.jackson.annotation.JsonIgnore; 3 4 import jakarta.persistence.*; 5 import lombok.Data; 4 6 5 7 import java.math.BigDecimal; … … 7 9 @Entity 8 10 @Table(name = "menus") 11 @Data 9 12 public class Menu { 10 13 @Id … … 15 18 @ManyToOne 16 19 @JoinColumn(name = "RestaurantID", nullable = false) 20 @JsonIgnore 17 21 private Restaurant restaurant; 18 22
Note:
See TracChangeset
for help on using the changeset viewer.