mirror of
https://github.com/PaulReichmuth/timekeep-backend.git
synced 2025-12-22 22:41:59 +00:00
begin switch to WSTO architecture
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user