package nckd.jxccl.hrmp.hbpm.common.hr;

import nckd.jxccl.base.common.constant.FormConstant;

import java.util.HashMap;
import java.util.Map;

/**
 * 岗位常量
 * @author: jtd
 * @date: 2025-10-20 16:29
 */
public class PositionBillConstant extends FormConstant {

    /**
     * 岗位F7组织树（去时间）
     */
    public static final String NCKD_NOTIME_POSTREELISTF7 = "nckd_notime_postreelistf7";

    /**
     * 行政组织树表单ID
     */
    public static final String HAOS_ORGTREELISTF7 = "haos_orgtreelistf7";

    /**
     * 岗位变动类型表单ID
     */
    public static final String NCKD_POSITION_CHANGETYPE = "nckd_position_changetype";

    /**
     * 变动类型
     */
    public static final String NCKD_CHANGETYPE = "nckd_changetype";

    /**
     * 变动类型-岗位新设
     */
    public static final Long CHANGE_TYPE_ADD = 1010L;

    /**
     * 变动类型-岗位变更
     */
    public static final Long CHANGE_TYPE_CHANGE = 1020L;

    /**
     * 变动类型Map
     */
    public static final Map<String, Long> CHANGE_TYPE_MAP = new HashMap(){{
        put("add", CHANGE_TYPE_ADD);
        put("change", CHANGE_TYPE_CHANGE);
    }};

    /**
     * 岗位信息维护表单ID
     */
    public static final String HBPM_POSITIONHR = "hbpm_positionhr";


    /**
     * 岗位申请单表单ID
     */
    public static final String NCKD_POSITIONBILL = "nckd_positionbill";

    /**
     * 岗位申请单分录表单ID
     */
    public static final String NCKD_POSITIONBILLENTRY = "nckd_positionbillentry";

    /**
     * 岗位申请-新增岗位表单ID
     */
    public static final String NCKD_POSBILLENTRYADD = "nckd_posbillentryadd";

    /**
     * 岗位申请-变更信息表单ID
     */
    public static final String NCKD_POSBILLENTRYCHANGE = "nckd_posbillentrychange";

    /**
     * 岗位职责分录ID
     */
    public static final String NCKD_POSDUTYENTRYENTITY = "nckd_posdutyentryentity";

    /**
     * 新增分录-岗位新设OP
     */
    public static final String NEWENTRY_ADD = "newentry_add";

    /**
     * 新增分录-岗位变更OP
     */
    public static final String NEWENTRY_CHANGE = "newentry_change";

    /**
     * 删除分录-岗位新设OP
     */
    public static final String DELETEENTRY_ADD = "deleteentry_add";

    /**
     * 删除分录-岗位变更OP
     */
    public static final String DELETEENTRY_CHANGE = "deleteentry_change";

    /**
     * 编辑-岗位新设OP
     */
    public static final String EDIT_ADD = "edit_add";

    /**
     * 编辑-岗位变更OP
     */
    public static final String EDIT_CHANGE = "edit_change";

    /**
     * 岗位申请单内码
     */
    public static final String NCKD_BILLID = "nckd_billid";

    /**
     * 生效日期
     */
    public static final String NCKD_EFFDT = "nckd_effdt";

    /**
     * 设立日期
     */
    public static final String NCKD_ESTDATE = "nckd_estdate";

    /**
     * 设立日期
     */
    public static final String ESTABLISHMENTDATE_KEY = "establishmentdate";

    /**
     * 分录顺序号
     */
    public static final String NCKD_SEQUENCE = "nckd_sequence";

    /**
     * 行政组织
     */
    public static final String NCKD_ADMINORG = "nckd_adminorg";

    /**
     * 岗位
     */
    public static final String NCKD_POSITION = "nckd_position";

    /**
     * 上级岗位
     */
    public static final String NCKD_PARENT = "nckd_parent";

    /**
     * 上级岗位
     */
    public static final String PARENT_KEY = "parent";

    /**
     * 组织体系管理组织
     */
    public static final String NCKD_ORG = "nckd_org";

    /**
     * 生效日期
     */
    public static final String NCKD_BSED = "nckd_bsed";

}
