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

📄 pets.java

📁 随书光盘:精通Sping 2.0 的随书源代码
💻 JAVA
字号:
package org.springframework.samples;
// Generated 2006-10-27 18:12:00 by Hibernate Tools 3.2.0.beta8


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

/**
 * Pets generated by hbm2java
 */
public class Pets  implements java.io.Serializable {

    // Fields    

     private int id;
     private Types types;
     private Owners owners;
     private String name;
     private Date birthDate;
     private Set visitses = new HashSet(0);

     // Constructors

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

	/** minimal constructor */
    public Pets(int id, Types types, Owners owners) {
        this.id = id;
        this.types = types;
        this.owners = owners;
    }
    /** full constructor */
    public Pets(int id, Types types, Owners owners, String name, Date birthDate, Set visitses) {
       this.id = id;
       this.types = types;
       this.owners = owners;
       this.name = name;
       this.birthDate = birthDate;
       this.visitses = visitses;
    }
   
    // Property accessors
    public int getId() {
        return this.id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    public Types getTypes() {
        return this.types;
    }
    
    public void setTypes(Types types) {
        this.types = types;
    }
    public Owners getOwners() {
        return this.owners;
    }
    
    public void setOwners(Owners owners) {
        this.owners = owners;
    }
    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    public Date getBirthDate() {
        return this.birthDate;
    }
    
    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }
    public Set getVisitses() {
        return this.visitses;
    }
    
    public void setVisitses(Set visitses) {
        this.visitses = visitses;
    }




}


⌨️ 快捷键说明

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