Class WorktimeSettingEntity
java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.service.worktime.settings.WorktimeSettingEntity
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bytedesk.core.base.BaseEntity
getCreatedAtString, getUpdatedAtString
-
Field Details
-
name
-
description
-
enabled
-
regularWorktimes
-
specialWorktimes
-
holidays
-
nonWorktimeRobotEnabled
-
nonWorktimeLeaveMessageEnabled
-
worktimeNotificationEnabled
-
worktimeNotificationType
-
worktimeNotificationRecipients
-
-
Constructor Details
-
WorktimeSettingEntity
public WorktimeSettingEntity()
-
-
Method Details
-
isInWorktime
检查当前时间是否在工作时间内- Returns:
- true 如果当前时间在工作时间内,false 如果不在
-
isInSpecialWorktime
检查当前时间是否在特殊工作时间内 -
isInRegularWorktime
检查当前时间是否在正常工作时间内
-