📄 petinfo.java
字号:
package com.hzxh.pet.model;
import java.util.HashSet;
import java.util.Set;
/**
* PetInfo generated by MyEclipse Persistence Tools
*/
public class PetInfo implements java.io.Serializable {
// Fields
/**
*
*/
private static final long serialVersionUID = -4063723616362225989L;
private Integer petId;
private String petName;
private String petSex;
private Integer petStrength;
private Integer petCute;
private Integer petLove;
private String petIntro;
private String petOwnerName;
private String petOwnerEmail;
private String petPassword;
private String petPic;
private Integer petType;
private Set petDiaries = new HashSet(0);
// Constructors
/** default constructor */
public PetInfo() {
}
/** minimal constructor */
public PetInfo(Integer petId, String petName) {
this.petId = petId;
this.petName = petName;
}
/** full constructor */
public PetInfo(Integer petId, String petName, String petSex,
Integer petStrength, Integer petCute, Integer petLove,
String petIntro, String petOwnerName, String petOwnerEmail,
String petPassword, String petPic, Integer petType, Set petDiaries) {
this.petId = petId;
this.petName = petName;
this.petSex = petSex;
this.petStrength = petStrength;
this.petCute = petCute;
this.petLove = petLove;
this.petIntro = petIntro;
this.petOwnerName = petOwnerName;
this.petOwnerEmail = petOwnerEmail;
this.petPassword = petPassword;
this.petPic = petPic;
this.petType = petType;
this.petDiaries = petDiaries;
}
// Property accessors
public Integer getPetId() {
return this.petId;
}
public void setPetId(Integer petId) {
this.petId = petId;
}
public String getPetName() {
return this.petName;
}
public void setPetName(String petName) {
this.petName = petName;
}
public String getPetSex() {
return this.petSex;
}
public void setPetSex(String petSex) {
this.petSex = petSex;
}
public Integer getPetStrength() {
return this.petStrength;
}
public void setPetStrength(Integer petStrength) {
this.petStrength = petStrength;
}
public Integer getPetCute() {
return this.petCute;
}
public void setPetCute(Integer petCute) {
this.petCute = petCute;
}
public Integer getPetLove() {
return this.petLove;
}
public void setPetLove(Integer petLove) {
this.petLove = petLove;
}
public String getPetIntro() {
return this.petIntro;
}
public void setPetIntro(String petIntro) {
this.petIntro = petIntro;
}
public String getPetOwnerName() {
return this.petOwnerName;
}
public void setPetOwnerName(String petOwnerName) {
this.petOwnerName = petOwnerName;
}
public String getPetOwnerEmail() {
return this.petOwnerEmail;
}
public void setPetOwnerEmail(String petOwnerEmail) {
this.petOwnerEmail = petOwnerEmail;
}
public String getPetPassword() {
return this.petPassword;
}
public void setPetPassword(String petPassword) {
this.petPassword = petPassword;
}
public String getPetPic() {
return this.petPic;
}
public void setPetPic(String petPic) {
this.petPic = petPic;
}
public Integer getPetType() {
return this.petType;
}
public void setPetType(Integer petType) {
this.petType = petType;
}
public Set getPetDiaries() {
return this.petDiaries;
}
public void setPetDiaries(Set petDiaries) {
this.petDiaries = petDiaries;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -