|
|
|
@ -34,24 +34,46 @@ public class SysMessage extends BaseBean {
|
|
|
|
|
@ApiParam(value ="消息标题" , access ="消息标题")
|
|
|
|
|
private String messageTitle;
|
|
|
|
|
|
|
|
|
|
@Column(name="MESSAGE_TYPE_ID")
|
|
|
|
|
@Column(name="MESSAGE_TYPE")
|
|
|
|
|
@ApiParam(value ="消息类型(1.通知,2.站内信)" , example ="1" , access ="消息类型(1.通知,2.站内信)")
|
|
|
|
|
private Integer messageTypeId;
|
|
|
|
|
|
|
|
|
|
@Column(name="RED_MESSAGE_TYPE_NAME")
|
|
|
|
|
@ApiParam(value ="消息类型名称" , access ="消息类型名称")
|
|
|
|
|
private String redMessageTypeName;
|
|
|
|
|
|
|
|
|
|
private Integer messageType;
|
|
|
|
|
|
|
|
|
|
@Column(name="MESSAGE_SEND_ID")
|
|
|
|
|
@ApiParam(value ="发送者" , example = "0")
|
|
|
|
|
@ApiParam(value ="发送者id" , example = "0")
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
|
private Long messageSendId;
|
|
|
|
|
|
|
|
|
|
@Column(name="MESSAGE_ACCEPT_ID")
|
|
|
|
|
@ApiParam(value ="接收者" , example = "0")
|
|
|
|
|
|
|
|
|
|
public Long getMessageSendId() {
|
|
|
|
|
if(messageSendId != null) {
|
|
|
|
|
return messageSendId.longValue();
|
|
|
|
|
}else{
|
|
|
|
|
return messageSendId;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Column(name="RED_SEND_NAME")
|
|
|
|
|
@ApiParam(value ="发送者名称" )
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
|
private Long messageAcceptId;
|
|
|
|
|
private String redSendName;
|
|
|
|
|
|
|
|
|
|
@Column(name="MESSAGE_RECIPIENT_ID")
|
|
|
|
|
@ApiParam(value ="接收者id" , example = "0")
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
|
private Long messageRecipientId;
|
|
|
|
|
|
|
|
|
|
public Long getMessageRecipientId() {
|
|
|
|
|
if(messageRecipientId != null) {
|
|
|
|
|
return messageRecipientId.longValue();
|
|
|
|
|
}else{
|
|
|
|
|
return messageRecipientId;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Column(name="RED_MESSAGE_RECIPIENT_NAME")
|
|
|
|
|
@ApiParam(value ="接收者名称" , example = "0")
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
|
private String redMessageRecipientName;
|
|
|
|
|
|
|
|
|
|
@Column(name="MESSAGE_CONTENT")
|
|
|
|
|
@ApiParam(value ="消息内容" , access ="消息内容")
|
|
|
|
|
private String messageContent;
|
|
|
|
|