Skip to content

Commit

Permalink
fixing merge-conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
sitaamirasyarifah committed May 25, 2024
1 parent 76b767f commit 860d6b1
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package id.ac.ui.cs.advprog.snackscription_subscriptionbox.model;

import com.fasterxml.jackson.annotation.JsonBackReference;
import jakarta.persistence.*;
import lombok.Getter;
import lombok.Setter;
Expand All @@ -19,15 +20,15 @@ public class Item {
private int quantity;

@ManyToMany(mappedBy = "items")
@JsonBackReference
private List<SubscriptionBox> subscriptionBoxes;

// Konstruktor default
public Item() {}

// Konstruktor dengan parameter
public Item(String id, String name, int quantity) {
this.id = id;
this.name = name;
this.quantity = quantity;
}

public Item() {
}
}

0 comments on commit 860d6b1

Please sign in to comment.