comments.java

来自「开发工具为myeclipse,数据库为oracle」· Java 代码 · 共 77 行

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