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

📄 event.java

📁 hibernate quickly 一书的各章节源代码
💻 JAVA
字号:
package com.manning.hq.ch03.proxies;import com.manning.hq.ch03.Location;import java.util.Date;/** * Version of the Event class for Chapter 3, regarding proxies. * * @author Nick Heudecker * @author Patrick Peak */public class Event {	private Long id;	private String name;	private Date startDate;	private int duration;    private Location location;	public void setId(Long id) {		this.id = id;	}		public Long getId() {		return id;	}    public String getName() {        return name;    }    public void setName(String name) {        this.name = name;    }    public Date getStartDate() {        return startDate;    }    public void setStartDate(Date startDate) {        this.startDate = startDate;    }    public int getDuration() {        return duration;    }    public void setDuration(int duration) {        this.duration = duration;    }    public Location getLocation() {        return location;    }    public void setLocation(Location location) {        this.location = location;    }}

⌨️ 快捷键说明

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