Class Notification
- java.lang.Object
-
- com.tarsolution.notifyman.data.entity.Notification
-
- All Implemented Interfaces:
IHasPrimaryKey<Integer>
,Serializable
@Entity public class Notification extends Object implements Serializable, IHasPrimaryKey<Integer>
- Author:
- FMARSLAN
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Notification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContent()
Date
getCreateTime()
String
getDescription()
Integer
getId()
NotificationType
getNotificationType()
Date
getReadTime()
Date
getSentTime()
NotificationStatusEnum
getStatus()
String
getSubject()
User
getUser()
void
setContent(String content)
void
setCreateTime(Date createTime)
void
setDescription(String description)
void
setId(Integer id)
void
setNotificationType(NotificationType notificationType)
void
setReadTime(Date readTime)
void
setSentTime(Date sentTime)
void
setStatus(NotificationStatusEnum status)
void
setSubject(String subject)
void
setUser(User user)
-
-
-
Method Detail
-
getId
public Integer getId()
- Specified by:
getId
in interfaceIHasPrimaryKey<Integer>
-
setId
public void setId(Integer id)
- Specified by:
setId
in interfaceIHasPrimaryKey<Integer>
-
getUser
public User getUser()
-
setUser
public void setUser(User user)
-
getNotificationType
public NotificationType getNotificationType()
-
setNotificationType
public void setNotificationType(NotificationType notificationType)
-
getCreateTime
public Date getCreateTime()
-
setCreateTime
public void setCreateTime(Date createTime)
-
getSentTime
public Date getSentTime()
-
setSentTime
public void setSentTime(Date sentTime)
-
getReadTime
public Date getReadTime()
-
setReadTime
public void setReadTime(Date readTime)
-
getStatus
public NotificationStatusEnum getStatus()
-
setStatus
public void setStatus(NotificationStatusEnum status)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
-
-