mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 23:35:50 +00:00
Removed wildcard import
This commit is contained in:
parent
42e8cbcb75
commit
3edab52b70
1 changed files with 27 additions and 23 deletions
|
@ -15,12 +15,15 @@
|
||||||
*/
|
*/
|
||||||
package org.springframework.samples.petclinic.vet;
|
package org.springframework.samples.petclinic.vet;
|
||||||
|
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
|
||||||
import org.springframework.samples.petclinic.model.BaseEntity;
|
|
||||||
|
|
||||||
import javax.persistence.*;
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.JoinColumn;
|
||||||
|
import javax.persistence.ManyToOne;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import org.springframework.samples.petclinic.model.BaseEntity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Models a {@link AvailableHour AvailableHour} for each {@link Vet Vet}
|
* Models a {@link AvailableHour AvailableHour} for each {@link Vet Vet}
|
||||||
|
@ -39,7 +42,8 @@ public class AvailableHour extends BaseEntity implements Serializable {
|
||||||
@JoinColumn(name = "vet_id")
|
@JoinColumn(name = "vet_id")
|
||||||
private Vet vet;
|
private Vet vet;
|
||||||
|
|
||||||
public AvailableHour() {}
|
public AvailableHour() {
|
||||||
|
}
|
||||||
|
|
||||||
public Vet getVet() {
|
public Vet getVet() {
|
||||||
return vet;
|
return vet;
|
||||||
|
|
Loading…
Reference in a new issue