begin switch to WSTO architecture

This commit is contained in:
2025-10-29 13:23:43 +01:00
parent f013ef8438
commit 4aa9cb5b34
8 changed files with 174 additions and 30 deletions

View File

@@ -5,12 +5,13 @@ import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import lombok.Getter;
import lombok.NoArgsConstructor;
import java.util.UUID;
@Entity
@Getter
@NoArgsConstructor
public class Station {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@@ -19,4 +20,10 @@ public class Station {
private String name;
private String location;
private String passwordHash;
public Station(String name, String location){
this.name = name;
this.location = location;
this.passwordHash = null;
}
}