| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- package com.malk.minglei.dto;
- /**
- * 员工花名册同步结果统计。
- */
- public class EmployeeRosterSyncResult {
- private final long departmentId;
- private final boolean includeSubDepartments;
- private final int userCount;
- private final int fieldCount;
- private final int syncedCount;
- /**
- * 创建员工花名册同步结果。
- *
- * @param departmentId 同步的钉钉部门 ID
- * @param includeSubDepartments 是否包含子部门
- * @param userCount 本次处理的用户数
- * @param fieldCount 本次查询的花名册字段数
- * @param syncedCount 实际写入本地库的记录数
- */
- public EmployeeRosterSyncResult(long departmentId, boolean includeSubDepartments, int userCount, int fieldCount, int syncedCount) {
- this.departmentId = departmentId;
- this.includeSubDepartments = includeSubDepartments;
- this.userCount = userCount;
- this.fieldCount = fieldCount;
- this.syncedCount = syncedCount;
- }
- public long getDepartmentId() {
- return departmentId;
- }
- public boolean isIncludeSubDepartments() {
- return includeSubDepartments;
- }
- public int getUserCount() {
- return userCount;
- }
- public int getFieldCount() {
- return fieldCount;
- }
- public int getSyncedCount() {
- return syncedCount;
- }
- }
|