feat: update Visit and VisitDTO
This commit is contained in:
parent
ff360be1eb
commit
e3d5eee711
@ -30,7 +30,7 @@ public class Visit {
|
||||
private LocalDateTime endVisit;
|
||||
|
||||
@Column(name = "is_finished", nullable = false)
|
||||
private final boolean isFinished = false;
|
||||
private boolean isFinished = false;
|
||||
|
||||
@ManyToOne(fetch = FetchType.EAGER)
|
||||
@JoinColumn(name = "start_terminal_id", referencedColumnName = "code", nullable = false)
|
||||
|
@ -24,4 +24,6 @@ public class VisitDTO {
|
||||
// превратить обратно можно с помощью LocalDateTime.parse().
|
||||
private String durationVisit;
|
||||
private String officeName;
|
||||
|
||||
private String typePassage; // Строка либо PASSAGE_CARD, либо PASSAGE_TELEPHONE
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user