mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:15:50 +00:00
Removed redundant javadoc comments
This commit is contained in:
parent
fa3b7f9a4c
commit
05e891cec1
1 changed files with 6 additions and 39 deletions
|
@ -37,24 +37,16 @@ import org.springframework.samples.petclinic.model.BaseEntity;
|
||||||
@Table(name = "visits")
|
@Table(name = "visits")
|
||||||
public class Visit extends BaseEntity {
|
public class Visit extends BaseEntity {
|
||||||
|
|
||||||
/**
|
|
||||||
* Holds value of property date.
|
|
||||||
*/
|
|
||||||
@Column(name = "visit_date")
|
@Column(name = "visit_date")
|
||||||
@Temporal(TemporalType.TIMESTAMP)
|
@Temporal(TemporalType.TIMESTAMP)
|
||||||
@DateTimeFormat(pattern = "yyyy/MM/dd")
|
@DateTimeFormat(pattern = "yyyy/MM/dd")
|
||||||
private Date date;
|
private Date date;
|
||||||
|
|
||||||
/**
|
|
||||||
* Holds value of property description.
|
|
||||||
*/
|
|
||||||
@NotEmpty
|
@NotEmpty
|
||||||
@Column(name = "description")
|
@Column(name = "description")
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
/**
|
|
||||||
* Holds value of property pet.
|
|
||||||
*/
|
|
||||||
@Column(name = "pet_id")
|
@Column(name = "pet_id")
|
||||||
private Integer petId;
|
private Integer petId;
|
||||||
|
|
||||||
|
@ -67,56 +59,31 @@ public class Visit extends BaseEntity {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for property date.
|
|
||||||
*
|
|
||||||
* @return Value of property date.
|
|
||||||
*/
|
|
||||||
public Date getDate() {
|
public Date getDate() {
|
||||||
return this.date;
|
return this.date;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for property date.
|
|
||||||
*
|
|
||||||
* @param date New value of property date.
|
|
||||||
*/
|
|
||||||
public void setDate(Date date) {
|
public void setDate(Date date) {
|
||||||
this.date = date;
|
this.date = date;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for property description.
|
|
||||||
*
|
|
||||||
* @return Value of property description.
|
|
||||||
*/
|
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return this.description;
|
return this.description;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for property description.
|
|
||||||
*
|
|
||||||
* @param description New value of property description.
|
|
||||||
*/
|
|
||||||
public void setDescription(String description) {
|
public void setDescription(String description) {
|
||||||
this.description = description;
|
this.description = description;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for property pet id.
|
|
||||||
*
|
|
||||||
* @return Value of property pet id.
|
|
||||||
*/
|
|
||||||
public Integer getPetId() {
|
public Integer getPetId() {
|
||||||
return this.petId;
|
return this.petId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for property pet id.
|
|
||||||
*
|
|
||||||
* @param petId New value of property pet id.
|
|
||||||
*/
|
|
||||||
public void setPetId(Integer petId) {
|
public void setPetId(Integer petId) {
|
||||||
this.petId = petId;
|
this.petId = petId;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue