|
|
@@ -0,0 +1,59 @@ |
|
|
|
package cn.com.taiji.core.entity.msgw; |
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.time.LocalDate; |
|
|
|
import java.time.LocalDateTime; |
|
|
|
|
|
|
|
import javax.persistence.*; |
|
|
|
import javax.validation.constraints.Digits; |
|
|
|
import javax.validation.constraints.NotBlank; |
|
|
|
import javax.validation.constraints.NotNull; |
|
|
|
import javax.validation.constraints.Size; |
|
|
|
|
|
|
|
import cn.com.taiji.common.entity.StringPropertyUUIDEntity; |
|
|
|
import lombok.Getter; |
|
|
|
import lombok.Setter; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 告警日志表 |
|
|
|
* |
|
|
|
*/ |
|
|
|
@Getter |
|
|
|
@Setter |
|
|
|
@Entity |
|
|
|
@Table(name = "MSGW_ALARM_LOG") |
|
|
|
public class MsgwAlarmLog extends StringPropertyUUIDEntity { |
|
|
|
|
|
|
|
@Column(name = "INSERT_TIME") |
|
|
|
private LocalDateTime insertTime;//创建/告警时间 |
|
|
|
@Size(max = 255) |
|
|
|
@Column(name = "MESSAGE_ID") |
|
|
|
private String messageId;//主表id |
|
|
|
@Size(max = 100) |
|
|
|
@Column(name = "CLIENT_TYPE") |
|
|
|
private String clientType;//客户端类型 |
|
|
|
@Size(max = 100) |
|
|
|
@Column(name = "MESSAGE_TYPE") |
|
|
|
private String messageType;//消息类型 |
|
|
|
@Size(max = 100) |
|
|
|
@Column(name = "STAFF_NAME") |
|
|
|
private String staffName;//告警人姓名 |
|
|
|
@Size(max = 100) |
|
|
|
@Column(name = "MOBILE") |
|
|
|
private String mobile;//告警人手机号 |
|
|
|
@Size(max = 1) |
|
|
|
@Column(name = "SEND_RESULT") |
|
|
|
private String sendResult;//告警状态 |
|
|
|
@Size(max = 225) |
|
|
|
@Column(name = "ALARM_REASON") |
|
|
|
private String alarmReason;//告警失败原因 |
|
|
|
@Size(max = 4000) |
|
|
|
@Column(name = "ALARM_MESSAGE") |
|
|
|
private String alarmMessage;//告警信息 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |