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

📄 visits.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;

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

    // Fields    

     private int id;
     private Pets pets;
     private Date visitDate;
     private String description;

     // Constructors

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

	/** minimal constructor */
    public Visits(int id, Pets pets) {
        this.id = id;
        this.pets = pets;
    }
    /** full constructor */
    public Visits(int id, Pets pets, Date visitDate, String description) {
       this.id = id;
       this.pets = pets;
       this.visitDate = visitDate;
       this.description = description;
    }
   
    // Property accessors
    public int getId() {
        return this.id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    public Pets getPets() {
        return this.pets;
    }
    
    public void setPets(Pets pets) {
        this.pets = pets;
    }
    public Date getVisitDate() {
        return this.visitDate;
    }
    
    public void setVisitDate(Date visitDate) {
        this.visitDate = visitDate;
    }
    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }




}


⌨️ 快捷键说明

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