|
|
@ -1,7 +1,6 @@
|
|
|
|
package cn.estsh.i3plus.pojo.platform.bean;
|
|
|
|
package cn.estsh.i3plus.pojo.platform.bean;
|
|
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.ImppEnumUtil;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
@ -10,7 +9,6 @@ import lombok.Data;
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
import org.hibernate.annotations.Subselect;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.persistence.*;
|
|
|
|
import javax.persistence.*;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
@ -32,6 +30,7 @@ import java.util.List;
|
|
|
|
public class SysMessage extends BaseBean {
|
|
|
|
public class SysMessage extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = -6090909263221993356L;
|
|
|
|
private static final long serialVersionUID = -6090909263221993356L;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "MESSAGE_TITLE")
|
|
|
|
@Column(name = "MESSAGE_TITLE")
|
|
|
|
@ApiParam(value = "消息标题", access = "消息标题")
|
|
|
|
@ApiParam(value = "消息标题", access = "消息标题")
|
|
|
|
private String messageTitle;
|
|
|
|
private String messageTitle;
|
|
|
@ -45,7 +44,7 @@ public class SysMessage extends BaseBean {
|
|
|
|
private Integer messageType;
|
|
|
|
private Integer messageType;
|
|
|
|
|
|
|
|
|
|
|
|
public int getMessageTypeValue() {
|
|
|
|
public int getMessageTypeValue() {
|
|
|
|
if(this.messageType == null){
|
|
|
|
if (this.messageType == null) {
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return this.messageType.intValue();
|
|
|
|
return this.messageType.intValue();
|
|
|
|