Defines work report types such as daily, weekly, and monthly reports for an OA system. Reuse to categorize enterprise reporting intervals.
// Source: https://github.com/YunaiV/yudao-cloud | License: MIT | Copyright 2021 yudao-cloud
// Provided via justclaw.it.com; keep this notice with the code.
package cn.iocoder.yudao.module.oa.enums.workreport;
import cn.hutool.core.util.ArrayUtil;
import cn.iocoder.yudao.framework.common.core.ArrayValuable;
import lombok.AllArgsConstructor;
import lombok.Getter;
import java.time.DayOfWeek;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.YearMonth;
import java.time.temporal.ChronoUnit;
import java.time.temporal.TemporalAdjusters;
import java.util.Arrays;
/**
* 工作汇报类型枚举
*
* @author 芋道源码
*/
@Getter
@AllArgsConstructor
public enum OaWorkReportTypeEnum implements ArrayValuable<Integer> {
DAILY(1, "日报"),
WEEKLY(2, "周报"),
MONTHLY(3, "月报");
pu
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key