sujinwen
2017-07-21 9f86ecd1435f386b778538df5eb0d769c3171db0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
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="update_time";
 
        /**
         * 是否同步
         */
        public static final String  isSynchron="is_synchron";
 
        /**
         * 设备所在机构id
         */
         private static final String  deviceCompanyId="device_company_id";
 
    }
 
    // 签到事件主键
 
    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;
 
    public String getDeviceCompanyId() {
        return deviceCompanyId;
    }
 
    public void setDeviceCompanyId(String deviceCompanyId) {
        this.deviceCompanyId = deviceCompanyId;
    }
 
    public String getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
 
    public String getIsSynchron() {
        return isSynchron;
    }
 
    public void setIsSynchron(String isSynchron) {
        this.isSynchron = isSynchron;
    }
 
 
 
    /**
     * 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;
    }
 
    public String toString() {
        return 
             ",签到事件主键 ="+ attendanceId +  ",人员主键 =" + registerId +  ",签到状态 =" + attendanceTypeId + 
             ",签到时间 =" + time       +  ",签到位置 =" + deviceId  ;
    }
}