package com.njcn.rdms.module.project.constant;

/**
 * 业务学习常量。
 */
public final class OvertimeApplicationConstants {

    private OvertimeApplicationConstants() {
    }

    public static final String BIZ_TYPE = "overtime_application";
    public static final String STATUS_OBJECT_TYPE = BIZ_TYPE;

    public static final String STATUS_PENDING = "pending";
    public static final String STATUS_APPROVED = "approved";
    public static final String STATUS_REJECTED = "rejected";

    /**
     * 新建即提交的业务日志动作。
     * <p>
     * 该动作仅用于状态日志、审计日志留痕，不要求在 rdms_object_status_transition 中存在显式流转配置。
     */
    public static final String ACTION_SUBMIT = "submit";
    public static final String ACTION_RESUBMIT = "resubmit";
    public static final String ACTION_APPROVE = "approve";
    public static final String ACTION_REJECT = "reject";
    public static final String ACTION_DELETE = "delete";

    public static final String PERMISSION_QUERY = "project:overtime-application:query";
    public static final String PERMISSION_CREATE = "project:overtime-application:create";
    public static final String PERMISSION_UPDATE = "project:overtime-application:update";
    public static final String PERMISSION_DELETE = "project:overtime-application:delete";
    public static final String PERMISSION_APPROVE = "project:overtime-application:approve";
    public static final String PERMISSION_EXPORT = "project:overtime-application:export";
    public static final String PERMISSION_TEAM_DASHBOARD = "project:overtime-application:team-dashboard";

}
