feat: show DingTalk punch device details
This commit is contained in:
@@ -67,6 +67,18 @@ export class AttendanceRecord {
|
||||
@Column({ name: 'source', length: 20, default: 'manual' })
|
||||
source: string;
|
||||
|
||||
@Column({ name: 'punch_time', type: 'datetime', nullable: true })
|
||||
punchTime: Date | null;
|
||||
|
||||
@Column({ name: 'punch_source', type: 'varchar', length: 40, nullable: true })
|
||||
punchSource: string | null;
|
||||
|
||||
@Column({ name: 'punch_device_name', type: 'varchar', length: 100, nullable: true })
|
||||
punchDeviceName: string | null;
|
||||
|
||||
@Column({ name: 'punch_device_id', type: 'varchar', length: 100, nullable: true })
|
||||
punchDeviceId: string | null;
|
||||
|
||||
@CreateDateColumn({ name: 'created_at' })
|
||||
createdAt: Date;
|
||||
|
||||
|
||||
@@ -44,6 +44,15 @@ export class DingAttendanceRaw {
|
||||
@Column({ name: 'location_result', length: 20, nullable: true })
|
||||
locationResult: string;
|
||||
|
||||
@Column({ name: 'punch_source', type: 'varchar', length: 40, nullable: true })
|
||||
punchSource: string | null;
|
||||
|
||||
@Column({ name: 'punch_device_name', type: 'varchar', length: 100, nullable: true })
|
||||
punchDeviceName: string | null;
|
||||
|
||||
@Column({ name: 'punch_device_id', type: 'varchar', length: 100, nullable: true })
|
||||
punchDeviceId: string | null;
|
||||
|
||||
@Column({ name: 'match_status', length: 20, default: 'unmatched' })
|
||||
matchStatus: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user