📄 message.java
字号:
/*
* Created on 2005-9-4
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.bid.domain;
import java.io.Serializable;
/**
* @author Ma Dou
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class Message implements Serializable {
private long id;
private String text;
private Message nextMessage;
/**
*
*/
public Message() {
super();
}
/**
* @param text
*/
public Message(String text) {
super();
this.text = text;
}
/**
* @return Returns the id.
*/
public long getId() {
return id;
}
/**
* @param id The id to set.
*/
public void setId(long id) {
this.id = id;
}
/**
* @return Returns the nextMessage.
*/
public Message getNextMessage() {
return nextMessage;
}
/**
* @param nextMessage The nextMessage to set.
*/
public void setNextMessage(Message nextMessage) {
this.nextMessage = nextMessage;
}
/**
* @return Returns the text.
*/
public String getText() {
return text;
}
/**
* @param text The text to set.
*/
public void setText(String text) {
this.text = text;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -