⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pet.java

📁 perfectpets的组织为全国的宠物诊所提供了个体健康管理。为不同城市的不同诊所提供了该服务。Perfectpets注意到在该业务领域缺乏交流
💻 JAVA
字号:
package com.pet.pojo;

import java.util.HashSet;
import java.util.Set;
import java.util.Date;

public class Pet implements java.io.Serializable {

	private static final long serialVersionUID = 609403498379125106L;

	private Integer pid;

	private Petmaster petmaster;

	private String petNo;

	private String petName;

	private String petType;

	private Date petBirth;

	private Date registerDate;

	private String currentState;

	private Set<Invoice> invoices = new HashSet<Invoice>(0);

	private Set<Pettreatement> pettreatements = new HashSet<Pettreatement>(0);

	private Set<Examination> examinations = new HashSet<Examination>(0);

	/** default constructor */
	public Pet() {
	}

	/** full constructor */
	public Pet (Petmaster petmaster, String petNo, String petName,
			String petType, Date petBirth, Date registerDate,
			String currentState, Set<Invoice> invoices,
			Set<Pettreatement> pettreatements, Set<Examination> examinations) {
		this.petmaster = petmaster;
		this.petNo = petNo;
		this.petName = petName;
		this.petType = petType;
		this.petBirth = petBirth;
		this.registerDate = registerDate;
		this.currentState = currentState;
		this.invoices = invoices;
		this.pettreatements = pettreatements;
		this.examinations = examinations;
	}


	public Integer getPid() {
		return this.pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Petmaster getPetmaster() {
		return this.petmaster;
	}

	public void setPetmaster(Petmaster petmaster) {
		this.petmaster = petmaster;
	}

	public String getPetNo() {
		return this.petNo;
	}

	public void setPetNo(String petNo) {
		this.petNo = petNo;
	}

	public String getPetName() {
		return this.petName;
	}

	public void setPetName(String petName) {
		this.petName = petName;
	}

	public String getPetType() {
		return this.petType;
	}

	public void setPetType(String petType) {
		this.petType = petType;
	}

	public Date getPetBirth() {
		return this.petBirth;
	}

	public void setPetBirth(Date petBirth) {
		this.petBirth = petBirth;
	}

	public Date getRegisterDate() {
		return this.registerDate;
	}

	public void setRegisterDate(Date registerDate) {
		this.registerDate = registerDate;
	}

	public String getCurrentState() {
		return this.currentState;
	}

	public void setCurrentState(String currentState) {
		this.currentState = currentState;
	}

	public Set<Invoice> getInvoices() {
		return this.invoices;
	}

	public void setInvoices(Set<Invoice> invoices) {
		this.invoices = invoices;
	}

	public Set<Pettreatement> getPettreatements() {
		return this.pettreatements;
	}

	public void setPettreatements(Set<Pettreatement> pettreatements) {
		this.pettreatements = pettreatements;
	}

	public Set<Examination> getExaminations() {
		return this.examinations;
	}

	public void setExaminations(Set<Examination> examinations) {
		this.examinations = examinations;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -