37 lines
815 B
Java
37 lines
815 B
Java
package com.safenet.lib;
|
|
|
|
import java.util.Date;
|
|
|
|
public class AlertEvent {
|
|
|
|
|
|
public long id = -1;
|
|
public long version = 1;
|
|
public int alertTypeId = 88888;
|
|
public Date dateCreated = new Date(10000);
|
|
public boolean isAcknowledged = true;
|
|
public boolean isDisplayed = true;
|
|
public boolean isSent = true;
|
|
public int unitId;
|
|
public String unitName;
|
|
|
|
public Date position_message_message_time;
|
|
public int position_message_unit_id;
|
|
public String time;
|
|
|
|
public AlertEvent(){
|
|
|
|
}
|
|
|
|
public String toString()
|
|
{
|
|
return "id = " + id
|
|
+ " | alertTypeId = " + alertTypeId
|
|
+ " | dateCreated = " + dateCreated
|
|
+ " | isAcknowledged = " + isAcknowledged
|
|
+ " | isDisplayed = " + isDisplayed
|
|
+ " | isSent = " + isSent
|
|
+ " | unitId = " + unitId ;
|
|
}
|
|
}
|