35 lines
686 B
Java
35 lines
686 B
Java
|
package com.safenet.lib;
|
||
|
|
||
|
import java.util.Date;
|
||
|
|
||
|
public class Poll {
|
||
|
|
||
|
public long id = -1;
|
||
|
public long version;
|
||
|
public Date dateCreated;
|
||
|
public boolean isRead;
|
||
|
public boolean isSent;
|
||
|
public Date positionMessage_message_time;
|
||
|
public int positionMessageUnitId;
|
||
|
public PositionMessage positionMessage;
|
||
|
public boolean responded;
|
||
|
public long unitId;
|
||
|
public String unitName;
|
||
|
|
||
|
public Poll(){
|
||
|
|
||
|
}
|
||
|
|
||
|
public String toString()
|
||
|
{
|
||
|
return "id: " + id
|
||
|
+ " | dateCreated: " + dateCreated
|
||
|
+ " | isRead: " + isRead
|
||
|
+ " | isSent: " + isSent
|
||
|
+ " | responded: " + responded
|
||
|
+ " | unitId: " + unitId
|
||
|
+ " | unitName: "+ unitName;
|
||
|
}
|
||
|
|
||
|
}
|