|
|
@ -19,7 +19,6 @@
|
|
|
|
package org.wso2.carbon.device.mgt.core.dto;
|
|
|
|
package org.wso2.carbon.device.mgt.core.dto;
|
|
|
|
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
import java.io.Serializable;
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class Device implements Serializable {
|
|
|
|
public class Device implements Serializable {
|
|
|
|
|
|
|
|
|
|
|
@ -27,8 +26,8 @@ public class Device implements Serializable {
|
|
|
|
private String id;
|
|
|
|
private String id;
|
|
|
|
private String description;
|
|
|
|
private String description;
|
|
|
|
private String name;
|
|
|
|
private String name;
|
|
|
|
private Date dateOfEnrollment;
|
|
|
|
private Long dateOfEnrollment;
|
|
|
|
private Date dateOfLastUpdate;
|
|
|
|
private Long dateOfLastUpdate;
|
|
|
|
private String deviceIdentificationId;
|
|
|
|
private String deviceIdentificationId;
|
|
|
|
private Status status;
|
|
|
|
private Status status;
|
|
|
|
private String ownerId;
|
|
|
|
private String ownerId;
|
|
|
@ -68,19 +67,19 @@ public class Device implements Serializable {
|
|
|
|
this.name = name;
|
|
|
|
this.name = name;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Date getDateOfEnrollment() {
|
|
|
|
public Long getDateOfEnrollment() {
|
|
|
|
return dateOfEnrollment;
|
|
|
|
return dateOfEnrollment;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setDateOfEnrollment(Date dateOfEnrollment) {
|
|
|
|
public void setDateOfEnrollment(Long dateOfEnrollment) {
|
|
|
|
this.dateOfEnrollment = dateOfEnrollment;
|
|
|
|
this.dateOfEnrollment = dateOfEnrollment;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Date getDateOfLastUpdate() {
|
|
|
|
public Long getDateOfLastUpdate() {
|
|
|
|
return dateOfLastUpdate;
|
|
|
|
return dateOfLastUpdate;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setDateOfLastUpdate(Date dateOfLastUpdate) {
|
|
|
|
public void setDateOfLastUpdate(Long dateOfLastUpdate) {
|
|
|
|
this.dateOfLastUpdate = dateOfLastUpdate;
|
|
|
|
this.dateOfLastUpdate = dateOfLastUpdate;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|