messagevo.java

来自「一个bbs论坛系统」· Java 代码 · 共 77 行

JAVA
77
字号
package com.lovo.vo;

import java.util.Date;

import com.lovo.po.UserPO;

public class MessageVO {

	/** 消息的ID */
	private int id;

	/** 接收消息的人的名字 */
	private UserPO receiveUser;

	/** 发送消息的人的名字 */
	private UserPO sendUser;

	/** 消息的题目 */
	private String title;

	/** 消息的内容 */
	private String content;

	/** 消息的发送的时间 */
	private Date sendDate;

	public String getContent() {
		return content;
	}

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

	public int getId() {
		return id;
	}

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

	public UserPO getReceiveUser() {
		return receiveUser;
	}

	public void setReceiveUser(UserPO receiveUser) {
		this.receiveUser = receiveUser;
	}

	public Date getSendDate() {
		return sendDate;
	}

	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}

	public UserPO getSendUser() {
		return sendUser;
	}

	public void setSendUser(UserPO sendUser) {
		this.sendUser = sendUser;
	}

	public String getTitle() {
		return title;
	}

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

	
}

⌨️ 快捷键说明

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