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

📄 guestbook.java

📁 《v512工作室_Java高端培训系列视频》(Java JSP Servlet Struts Struts2 Hibernate Spring Eclipse Compass Lucene)12月16
💻 JAVA
字号:
package com.v512.springdemo;

/**
 * Guestbook entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Guestbook implements java.io.Serializable {

 
    private static final long serialVersionUID = 8580022851453247611L;
    private Long id;
    private String name;
    private String email;
    private String url;
    private String title;
    private String content;
    private String time;

    // Constructors

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

    /** full constructor */
    public Guestbook(String name, String email, String url, String title, String content, String time) {
	this.name = name;
	this.email = email;
	this.url = url;
	this.title = title;
	this.content = content;
	this.time = time;
    }

    // Property accessors

    public Long getId() {
	return this.id;
    }

    public void setId(Long id) {
	this.id = id;
    }

    public String getName() {
	return this.name;
    }

    public void setName(String name) {
	this.name = name;
    }

    public String getEmail() {
	return this.email;
    }

    public void setEmail(String email) {
	this.email = email;
    }

    public String getUrl() {
	return this.url;
    }

    public void setUrl(String url) {
	this.url = url;
    }

    public String getTitle() {
	return this.title;
    }

    public void setTitle(String title) {
	this.title = title;
    }

    public String getContent() {
	return this.content;
    }

    public void setContent(String content) {
	this.content = content;
    }

    public String getTime() {
	return this.time;
    }

    public void setTime(String time) {
	this.time = time;
    }

}

⌨️ 快捷键说明

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