Skip to content

Commit

Permalink
Added mapping to models
Browse files Browse the repository at this point in the history
  • Loading branch information
EldoPlo committed Dec 8, 2024
1 parent e2f57a1 commit 0d8ffbf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.pogoda.weather.model;

import java.util.List;

import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
public class EspUserSettings {

@Id
private int userId; // To jest identyfikator, który w rzeczywistości powinien być zarządzany przez relację @ManyToOne z EspUsers
private int userId;

private int preferedUnitId;
private int lngId;
Expand Down

0 comments on commit 0d8ffbf

Please sign in to comment.