workreport/OaWorkReportTypeEnum.java

ruoyi-vue-pro · yudao-module-oa/src/main/java/cn/iocoder/yudao/module/oa/enums/workreport/OaWorkReportTypeEnum.java · java · MIT
crm

Enum for work report types with formatting helpers.

// Source: https://github.com/YunaiV/ruoyi-vue-pro | License: MIT | Copyright 2021 ruoyi-vue-pro
// 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, "月报");

  

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key