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

/**
 * 工作报告常量。
 */
public final class WorkReportConstants {

    private WorkReportConstants() {
    }

    public static final String STATUS_OBJECT_TYPE = "work_report";

    public static final String REPORT_TYPE_WEEKLY = "weekly";
    public static final String REPORT_TYPE_MONTHLY = "monthly";
    public static final String REPORT_TYPE_PROJECT = "project";

    public static final String BIZ_TYPE_WEEKLY = "weekly_report";
    public static final String BIZ_TYPE_MONTHLY = "monthly_report";
    public static final String BIZ_TYPE_PROJECT = "project_report";

    public static final String STATUS_DRAFT = "draft";
    public static final String STATUS_PENDING_APPROVAL = "pending_approval";
    public static final String STATUS_APPROVED = "approved";
    public static final String STATUS_REJECTED = "rejected";

    public static final String ACTION_CREATE = "create";
    public static final String ACTION_UPDATE = "update";
    public static final String ACTION_DELETE = "delete";
    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 PERMISSION_QUERY = "project:work-report:query";
    public static final String PERMISSION_CREATE = "project:work-report:create";
    public static final String PERMISSION_UPDATE = "project:work-report:update";
    public static final String PERMISSION_DELETE = "project:work-report:delete";
    public static final String PERMISSION_APPROVE = "project:work-report:approve";
    public static final String PERMISSION_EXPORT = "project:work-report:export";
    public static final String PERMISSION_PROJECT_OWNER = "project:work-report:project-owner";
    public static final String PERMISSION_TEAM_DASHBOARD = "project:work-report:team-dashboard";
    public static final String PERMISSION_SIGN_OFF_QUERY = "project:work-report:sign-off-query";
    public static final String PERMISSION_SIGN_OFF_CONFIRM = "project:work-report:sign-off-confirm";
}
