package cn.com.basic.face.discern.entity;
|
|
import java.io.Serializable;
|
|
import cn.com.basic.face.discern.common.BaseEntity;
|
|
/**
|
* Attendance
|
*/
|
public class Attendance extends BaseEntity implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
public static final String MODEL_NAME = "Attendance";
|
|
public static final class FieldNames {
|
/**
|
* 签到事件主键
|
*/
|
public static final String attendanceId = "attendanceId";
|
/**
|
* 人员主键
|
*/
|
public static final String registerId = "registerId";
|
/**
|
* 签到状态
|
*/
|
public static final String attendanceTypeId = "attendanceTypeId";
|
/**
|
* 签到时间
|
*/
|
public static final String time = "time";
|
/**
|
* 签到位置
|
*/
|
public static final String deviceId = "deviceId";
|
/**
|
* 同步时间
|
*/
|
public static final String updateTime = "updateTime";
|
/**
|
* 是否同步
|
*/
|
public static final String isSynchron = "isSynchron";
|
/**
|
* 设备所在机构id
|
*/
|
public static final String deviceCompanyId = "deviceCompanyId";
|
}
|
|
// 签到事件主键
|
private String attendanceId;
|
// 人员主键
|
private String registerId;
|
// 签到状态
|
private String attendanceTypeId;
|
// 签到时间
|
private String time;
|
// 签到位置
|
private String deviceId;
|
// 同步时间
|
private String updateTime;
|
// 是否同步
|
private String isSynchron;
|
// 设备所在机构id
|
private String deviceCompanyId;
|
|
private String isValid;
|
|
private String createTime;
|
|
public String getIsValid() {
|
return isValid;
|
}
|
|
public void setIsValid(String isValid) {
|
this.isValid = isValid;
|
}
|
|
public String getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(String createTime) {
|
this.createTime = createTime;
|
}
|
|
/**
|
* Get 签到事件主键
|
*/
|
public String getAttendanceId() {
|
return attendanceId;
|
}
|
|
/**
|
* Set 签到事件主键
|
*/
|
public void setAttendanceId(String attendanceId) {
|
this.attendanceId = attendanceId;
|
}
|
|
/**
|
* Get 人员主键
|
*/
|
public String getRegisterId() {
|
return registerId;
|
}
|
|
/**
|
* Set 人员主键
|
*/
|
public void setRegisterId(String registerId) {
|
this.registerId = registerId;
|
}
|
|
/**
|
* Get 签到状态
|
*/
|
public String getAttendanceTypeId() {
|
return attendanceTypeId;
|
}
|
|
/**
|
* Set 签到状态
|
*/
|
public void setAttendanceTypeId(String attendanceTypeId) {
|
this.attendanceTypeId = attendanceTypeId;
|
}
|
|
/**
|
* Get 签到时间
|
*/
|
public String getTime() {
|
return time;
|
}
|
|
/**
|
* Set 签到时间
|
*/
|
public void setTime(String time) {
|
this.time = time;
|
}
|
|
/**
|
* Get 签到位置
|
*/
|
public String getDeviceId() {
|
return deviceId;
|
}
|
|
/**
|
* Set 签到位置
|
*/
|
public void setDeviceId(String deviceId) {
|
this.deviceId = deviceId;
|
}
|
|
/**
|
* Get 同步时间
|
*/
|
public String getUpdateTime() {
|
return updateTime;
|
}
|
|
/**
|
* Set 同步时间
|
*/
|
public void setUpdateTime(String updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
/**
|
* Get 是否同步
|
* ,Y--已同步,N--未同步
|
*/
|
public String getIsSynchron() {
|
return isSynchron;
|
}
|
|
/**
|
* Set 是否同步
|
* ,Y--已同步,N--未同步
|
*/
|
public void setIsSynchron(String isSynchron) {
|
this.isSynchron = isSynchron;
|
}
|
|
/**
|
* Get 设备所在机构id
|
*/
|
public String getDeviceCompanyId() {
|
return deviceCompanyId;
|
}
|
|
/**
|
* Set 设备所在机构id
|
*/
|
public void setDeviceCompanyId(String deviceCompanyId) {
|
this.deviceCompanyId = deviceCompanyId;
|
}
|
|
public String toString() {
|
return
|
",签到事件主键 ="+ attendanceId + ",人员主键 =" + registerId + ",签到状态 =" + attendanceTypeId +
|
",签到时间 =" + time + ",签到位置 =" + deviceId ;
|
}
|
}
|