com.dingtalk.api.response.SmartworkAttendsGetsimplegroupsResponse Maven / Gradle / Ivy
package com.dingtalk.api.response;
import java.util.List;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
import com.taobao.api.TaobaoObject;
import java.util.Date;
import com.taobao.api.TaobaoResponse;
/**
* TOP DingTalk-API: dingtalk.smartwork.attends.getsimplegroups response.
*
* @author top auto create
* @since 1.0, null
*/
public class SmartworkAttendsGetsimplegroupsResponse extends TaobaoResponse {
private static final long serialVersionUID = 5153631465231278215L;
/**
* result
*/
@ApiField("result")
private DingOpenResult result;
public void setResult(DingOpenResult result) {
this.result = result;
}
public DingOpenResult getResult( ) {
return this.result;
}
/**
* 休息开始时间,只有一个时间段的班次有
*
* @author top auto create
* @since 1.0, null
*/
public static class AtTimeVo extends TaobaoObject {
private static final long serialVersionUID = 6669282512538796568L;
/**
* 开始时间
*/
@ApiField("check_time")
private Date checkTime;
public Date getCheckTime() {
return this.checkTime;
}
public void setCheckTime(Date checkTime) {
this.checkTime = checkTime;
}
}
/**
* 考勤组班次配置
*
* @author top auto create
* @since 1.0, null
*/
public static class ClassSettingVo extends TaobaoObject {
private static final long serialVersionUID = 2121836344741656228L;
/**
* 旷工迟到时长,单位分钟
*/
@ApiField("absenteeism_late_minutes")
private Long absenteeismLateMinutes;
/**
* 考勤组班次id
*/
@ApiField("class_setting_id")
private Long classSettingId;
/**
* Y表示下班不强制打卡,N表示下班强制打卡
*/
@ApiField("is_off_duty_free_check")
private String isOffDutyFreeCheck;
/**
* 允许迟到时长,单位分钟
*/
@ApiField("permit_late_minutes")
private Long permitLateMinutes;
/**
* 休息开始时间,只有一个时间段的班次有
*/
@ApiField("rest_begin_time")
private AtTimeVo restBeginTime;
/**
* 休息结束时间,只有一个时间段的班次有
*/
@ApiField("rest_end_time")
private AtTimeVo restEndTime;
/**
* 严重迟到时长,单位分钟
*/
@ApiField("serious_late_minutes")
private Long seriousLateMinutes;
/**
* 工作时长,单位分钟,-1表示关闭该功能
*/
@ApiField("work_time_minutes")
private Long workTimeMinutes;
public Long getAbsenteeismLateMinutes() {
return this.absenteeismLateMinutes;
}
public void setAbsenteeismLateMinutes(Long absenteeismLateMinutes) {
this.absenteeismLateMinutes = absenteeismLateMinutes;
}
public Long getClassSettingId() {
return this.classSettingId;
}
public void setClassSettingId(Long classSettingId) {
this.classSettingId = classSettingId;
}
public String getIsOffDutyFreeCheck() {
return this.isOffDutyFreeCheck;
}
public void setIsOffDutyFreeCheck(String isOffDutyFreeCheck) {
this.isOffDutyFreeCheck = isOffDutyFreeCheck;
}
public Long getPermitLateMinutes() {
return this.permitLateMinutes;
}
public void setPermitLateMinutes(Long permitLateMinutes) {
this.permitLateMinutes = permitLateMinutes;
}
public AtTimeVo getRestBeginTime() {
return this.restBeginTime;
}
public void setRestBeginTime(AtTimeVo restBeginTime) {
this.restBeginTime = restBeginTime;
}
public AtTimeVo getRestEndTime() {
return this.restEndTime;
}
public void setRestEndTime(AtTimeVo restEndTime) {
this.restEndTime = restEndTime;
}
public Long getSeriousLateMinutes() {
return this.seriousLateMinutes;
}
public void setSeriousLateMinutes(Long seriousLateMinutes) {
this.seriousLateMinutes = seriousLateMinutes;
}
public Long getWorkTimeMinutes() {
return this.workTimeMinutes;
}
public void setWorkTimeMinutes(Long workTimeMinutes) {
this.workTimeMinutes = workTimeMinutes;
}
}
/**
* 班次打卡时间段,最多
*
* @author top auto create
* @since 1.0, null
*/
public static class AtSectionVo extends TaobaoObject {
private static final long serialVersionUID = 4599833143795576953L;
/**
* 时间段列表
*/
@ApiListField("times")
@ApiField("at_time_vo")
private List times;
public List getTimes() {
return this.times;
}
public void setTimes(List times) {
this.times = times;
}
}
/**
* 考勤组对应的考勤班次列表
*
* @author top auto create
* @since 1.0, null
*/
public static class AtClassVo extends TaobaoObject {
private static final long serialVersionUID = 5336423987923155558L;
/**
* 考勤班次id
*/
@ApiField("class_id")
private Long classId;
/**
* 考勤班次名称
*/
@ApiField("class_name")
private String className;
/**
* 班次打卡时间段,最多
*/
@ApiListField("sections")
@ApiField("at_section_vo")
private List sections;
/**
* 考勤组班次配置
*/
@ApiField("setting")
private ClassSettingVo setting;
public Long getClassId() {
return this.classId;
}
public void setClassId(Long classId) {
this.classId = classId;
}
public String getClassName() {
return this.className;
}
public void setClassName(String className) {
this.className = className;
}
public List getSections() {
return this.sections;
}
public void setSections(List sections) {
this.sections = sections;
}
public ClassSettingVo getSetting() {
return this.setting;
}
public void setSetting(ClassSettingVo setting) {
this.setting = setting;
}
}
/**
* 考勤组列表
*
* @author top auto create
* @since 1.0, null
*/
public static class AtGroupForTopVo extends TaobaoObject {
private static final long serialVersionUID = 7617277577939217825L;
/**
* 一周的班次时间展示列表。["周一、二 班次A:09:00-18:00", "周六、周日 休息"]
*/
@ApiListField("classes_list")
@ApiField("string")
private List classesList;
/**
* 默认班次id
*/
@ApiField("default_class_id")
private Long defaultClassId;
/**
* 关联的部门
*/
@ApiListField("dept_name_list")
@ApiField("string")
private List deptNameList;
/**
* 考勤组id
*/
@ApiField("group_id")
private Long groupId;
/**
* 考勤组名称
*/
@ApiField("group_name")
private String groupName;
/**
* 是否默认考勤组
*/
@ApiField("is_default")
private Boolean isDefault;
/**
* 考勤组负责人
*/
@ApiListField("manager_list")
@ApiField("string")
private List managerList;
/**
* 成员人数
*/
@ApiField("member_count")
private Long memberCount;
/**
* 考勤组对应的考勤班次列表
*/
@ApiListField("selected_class")
@ApiField("at_class_vo")
private List selectedClass;
/**
* 考勤类型,FIXED为固定排班,TURN为轮班排班,NONE为无班次
*/
@ApiField("type")
private String type;
/**
* 固定班次的工作日班次
*/
@ApiListField("work_day_list")
@ApiField("string")
private List workDayList;
public List getClassesList() {
return this.classesList;
}
public void setClassesList(List classesList) {
this.classesList = classesList;
}
public Long getDefaultClassId() {
return this.defaultClassId;
}
public void setDefaultClassId(Long defaultClassId) {
this.defaultClassId = defaultClassId;
}
public List getDeptNameList() {
return this.deptNameList;
}
public void setDeptNameList(List deptNameList) {
this.deptNameList = deptNameList;
}
public Long getGroupId() {
return this.groupId;
}
public void setGroupId(Long groupId) {
this.groupId = groupId;
}
public String getGroupName() {
return this.groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public Boolean getIsDefault() {
return this.isDefault;
}
public void setIsDefault(Boolean isDefault) {
this.isDefault = isDefault;
}
public List getManagerList() {
return this.managerList;
}
public void setManagerList(List managerList) {
this.managerList = managerList;
}
public Long getMemberCount() {
return this.memberCount;
}
public void setMemberCount(Long memberCount) {
this.memberCount = memberCount;
}
public List getSelectedClass() {
return this.selectedClass;
}
public void setSelectedClass(List selectedClass) {
this.selectedClass = selectedClass;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public List getWorkDayList() {
return this.workDayList;
}
public void setWorkDayList(List workDayList) {
this.workDayList = workDayList;
}
}
/**
* result
*
* @author top auto create
* @since 1.0, null
*/
public static class AtGroupListForTopVo extends TaobaoObject {
private static final long serialVersionUID = 7812736726338283527L;
/**
* 考勤组列表
*/
@ApiListField("groups")
@ApiField("at_group_for_top_vo")
private List groups;
/**
* 分页用,表示是否还有下一页
*/
@ApiField("has_more")
private Boolean hasMore;
public List getGroups() {
return this.groups;
}
public void setGroups(List groups) {
this.groups = groups;
}
public Boolean getHasMore() {
return this.hasMore;
}
public void setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
}
}
/**
* result
*
* @author top auto create
* @since 1.0, null
*/
public static class DingOpenResult extends TaobaoObject {
private static final long serialVersionUID = 8462283287835127876L;
/**
* dingOpenErrcode
*/
@ApiField("ding_open_errcode")
private Long dingOpenErrcode;
/**
* errorMsg
*/
@ApiField("error_msg")
private String errorMsg;
/**
* result
*/
@ApiField("result")
private AtGroupListForTopVo result;
/**
* success
*/
@ApiField("success")
private Boolean success;
public Long getDingOpenErrcode() {
return this.dingOpenErrcode;
}
public void setDingOpenErrcode(Long dingOpenErrcode) {
this.dingOpenErrcode = dingOpenErrcode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
public AtGroupListForTopVo getResult() {
return this.result;
}
public void setResult(AtGroupListForTopVo result) {
this.result = result;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy