80d7e4e17eac001c1e1296631158c4f3

来自「《v512工作室_Java高端培训系列视频》(Java JSP Servlet 」· 代码 · 共 95 行

TXT
95
字号
package com.v512.demo.hibernate;

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

public class Guestbook implements java.io.Serializable {

    // Fields

    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 + =
减小字号Ctrl + -
显示快捷键?