safedispatch-mobile/libSafeMobile/src/main/java/com/safenet/lib/Unit.java
2022-03-14 11:53:00 +02:00

30 lines
737 B
Java

package com.safenet.lib;
import java.util.Date;
public class Unit {
public long id;
public String name;
public Date dateCreated;
public Date lastUpdated;
public int reportingSeconds = 60;
public boolean isDeactivated; //if User wants to create another one with the same name then resurrect this one
public String emailAddress;
public UnitIcon icon;
public UnitGroup group = null;
public UnitType type;
public Gateway gateway; //if it is radio then will have a gateway, otherwise is null
public long imei;
public Unit(){
}
public String toString()
{
return "id: " + id + " | name: " + name + " | imei:" + imei + " | repSec:" + reportingSeconds;
}
}