/** * Copyright 1996-2014 FoxBPM ORG. * * 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. * * @author kenshin */ package org.foxbpm.social.impl.entity; import java.io.Serializable; import java.util.Date; /** * 消息索引表 * @author kenshin * */ public class SocialMessageIndex implements Serializable { private static final long serialVersionUID = 1L; /** 用户编号 */ private String userId; /** 消息发布者编号(可能是被关注者,也可能是自己) */ private String authorId; /** 消息编号 */ private String messageId; /** 发布时间 */ private Date time; public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getAuthorId() { return authorId; } public void setAuthorId(String authorId) { this.authorId = authorId; } public String getMessageId() { return messageId; } public void setMessageId(String messageId) { this.messageId = messageId; } public Date getTime() { return time; } public void setTime(Date time) { this.time = time; } }