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

📄 comments.java

📁 开发工具为myeclipse,数据库为oracle
💻 JAVA
字号:
package com.stiven.hibernate;

import java.util.Date;

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

public class Comments implements java.io.Serializable {

	// Fields

	private Long cid;
	private Blogentry blogentry;
	private Users users;
	private String text;
	private Date cdate;

	// Constructors

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

	/** full constructor */
	public Comments(Blogentry blogentry, Users users, String text, Date cdate) {
		this.blogentry = blogentry;
		this.users = users;
		this.text = text;
		this.cdate = cdate;
	}

	// Property accessors

	public Long getCid() {
		return this.cid;
	}

	public void setCid(Long cid) {
		this.cid = cid;
	}

	public Blogentry getBlogentry() {
		return this.blogentry;
	}

	public void setBlogentry(Blogentry blogentry) {
		this.blogentry = blogentry;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Date getCdate() {
		return this.cdate;
	}

	public void setCdate(Date cdate) {
		this.cdate = cdate;
	}

}

⌨️ 快捷键说明

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