package com.hotent.openapi.demo;

/**
 * @author 梁宏锦
 * @date 2024/07/08
 **/
public interface TodoMsgConstant {
    // 待办状态 0:待办 1:已办
    public final static Long TODO_STATE_WAIT = 0L;   //0:待办
    public final static Long TODO_STATE_DONE = 1L;   //1:已办

    // 页面打开方式 0:新页面(默认) 1:页面对话框
    public final static Long OPEN_STYLE_PAGE = 0L;   //0:新页面(默认)
    public final static Long OPEN_STYLE_DIALOG = 1L; //1:页面对话框

    // 来源类型 0:PC应用 1:移动应用
    public final static String OWNER_SOURCE_APP_PC = "0"; //0:PC应用
    public final static String OWNER_SOURCE_APP_MOBILE = "1"; //1:移动应用

    //是否支持手机表单 0:跳转全兼容(默认)  1:仅支持pc端跳转 2:仅支持移动端跳转 3:不跳转
    public final static String SUPPORT_MOBILE_ALL = "0"; //0:跳转全兼容(默认)
    public final static String SUPPORT_MOBILE_PC = "1"; //1:仅支持pc端跳转
    public final static String SUPPORT_MOBILE_MOBILE = "2"; //2:仅支持移动端跳转
    public final static String SUPPORT_MOBILE_NO = "3"; //3:不跳转

    // 审批状态 agree=同意；against=反对；return=驳回；abandon=弃权；retrieve=追回
    String OPINION_STATE_AGREE = "agree"; //同意
    String OPINION_STATE_AGAINST = "against"; //反对
    String OPINION_STATE_RETURN = "return"; //驳回
    String OPINION_STATE_ABANDON = "complete"; //弃权
    String OPINION_STATE_RETRIEVE = "retrieve"; //追回
}
