📄 shortmessage.java
字号:
/*
* Copyright 2007 the original author or jdon.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package com.jdon.jivejdon.model;
import com.jdon.annotation.Model;
@Model
public class ShortMessage {
/**
*
*/
private static final long serialVersionUID = -7427295813326087296L;
// ID
protected Long msgId;
// title of message
protected String messageTitle;
// content
protected String messageBody;
// from
protected String messageFrom;
// destination
protected String messageTo;
// owner
protected com.jdon.jivejdon.model.Account account;
//
protected ShortMessageState shortMessageState;
public ShortMessage() {
//this.setCacheable(false);
shortMessageState = new ShortMessageState();
}
public Account getAccount() {
return account;
}
public void setAccount(Account account) {
this.account = account;
}
public Long getMsgId() {
return msgId;
}
public void setMsgId(Long msgId) {
this.msgId = msgId;
}
public String getMessageBody() {
return messageBody;
}
public void setMessageBody(String messageBody) {
this.messageBody = messageBody;
}
public String getMessageFrom() {
return messageFrom;
}
public void setMessageFrom(String messageFrom) {
this.messageFrom = messageFrom;
}
public String getMessageTitle() {
return messageTitle;
}
public void setMessageTitle(String messageTitle) {
this.messageTitle = messageTitle;
}
public String getMessageTo() {
return messageTo;
}
public void setMessageTo(String messageTo) {
this.messageTo = messageTo;
}
public ShortMessageState getShortMessageState() {
return shortMessageState;
}
public void setShortMessageState(ShortMessageState shortMessageState) {
this.shortMessageState = shortMessageState;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -