package org.security.common;

/**
 * @author zj 2022/2/23
 * 常量类
 */
public class Constant {
	public static final String FALI_MESSAGE = "系统异常，请联系管理人员";

	public static final String DELETE_FLAG_0="0";//正常
	public static final String DELETE_FLAG_1="1";//删除
	//任务下发角度
	public static final String TASK_STATE_DRAFT="0";//任务待下发状态(初始默认状态）
	public static final String TASK_STATE_PUBLISH="1";//任务已发布状态
	public static final String TASK_STATE_END="2";//任务已终止状态

	public static final String TASK_PREFIX="TASK";//任务编号前缀

	public static final String HANDIN_TYPE_SINGLE="single";//任务提报类型-单次
	public static final String HANDIN_TYPE_FREQ="freq";//任务提报类型-按频次

	public static final String TASK_FLAG_USUAL="usual";//任务类型-日常任务
	public static final String TASK_FLAG_UNUSUAL="unusual";//任务类型-专项任务

	//	提报流程状态-------
	public static final String HANDIN_STATE_DRAFT="0";//任务未提交审批状态
	public static final String HANDIN_STATE_AUDIT="1";//任务审批中状态
	public static final String HANDIN_STATE_FINISH="2";//任务审批完成状态（已审批完毕，或无需审批的任务自行进行确认）
	public static final String HANDIN_STATE_REFUSE="3";//任务审批驳回状态
//	任务执行状态
	public static final String TASK_HANDIN_STATE_DRAFT="0";//待执行
	public static final String TASK_HANDIN_STATE_DRAFT_OVERTIME="1";//超时待执行
	public static final String TASK_HANDIN_STATE_SUBMIT="2";//按时已执行
	public static final String TASK_HANDIN_STATE_OVERTIME_SUBMIT="3";//超时已执行
	public static final String TASK_STOP="4";//教育培训、应急演练、案件防控任务终止



	//检查整改begin-----------
	public static final String INSPECTION_TYPE_SELF ="1";//自检自查，检查机构=被检查机构，都是内部机构
	public static final String INSPECTION_TYPE_IN ="2";//内部检查，检查机构≠被检查机构，都是内部机构
	public static final String INSPECTION_TYPE_OUT ="3";//外部检查，检查机构为外部单位，被检查机构为内部机构

	public static final String PROBLEM_STATE_DRAFT="0";//待检查
	public static final String PROBLEM_STATE_DRAFT_OVERTIME="1";//超时待检查
	public static final String PROBLEM_STATE_WAIT_RECTIFY="2";//待整改；检查已提报，有问题
	public static final String PROBLEM_STATE_SUBMIT="3";//按时已整改
	public static final String PROBLEM_STATE_OVERTIME="4";//超时待整改
	public static final String PROBLEM_STATE_OVERTIME_SUBMIT="5";//超时已整改
	public static final String PROBLEM_STATE_NO_PROBLEM="6";//检查正常；检查已提报，没有问题,无需整改
	public static final String TASK_STOP_INSPECTION="7";//检查整改任务终止
	//检查整改end-----------

	//	设备使用状态begin-------
	public static final String DEVICE_STATE_DUSE="0"; //未投入使用
	public static final String DEVICE_STATE_USE="1"; //正常使用
	public static final String DEVICE_STATE_OVERTIME_USE="2"; //超期使用
	public static final String DEVICE_STATE_DISPOSED="3"; //已处置
	//	设备使用状态end-------

	//	设备检查状态begin-------
	public static final String DEVICE_STATE_INSPECTION="4"; //检查中
	public static final String DEVICE_STATE_INSPECTION_OVER="5"; //检查完成
	public static final String DEVICE_STATE_RECTIFY="6"; //待整改
	public static final String DEVICE_STATE_RECTIFY_OVER="7"; //整改完成
	public static final String DEVICE_STATE_OVERTIME_INSPECTION="8"; //超期未检查
	public static final String DEVICE_STATE_LEADER_CONFIRM="9"; //待领导确认

	public static final String DEVICE_LINE_STATE_0="0"; //待检
	public static final String DEVICE_LINE_STATE_2="2"; //已检
	//	设备检查状态end-------

	public static final String PARENT_ID="0"; //父级id 机构树根节点


	public static final String RECTIFICATION_STATE_FAIL="0";//未整改
	public static final String RECTIFICATION_STATE_SUCCESS="1";//已整改

	public static final String SEX_BOY="1";//男
	public static final String SEX_GIRL="2";//女

	public static final String DEVICE_PROBLEM_NORMAL="1"; //正常
	public static final String DEVICE_PROBLEM_WARN="2"; //告警

	public static final String APP_BACKLOG_TYPE_1 = "1";//教育培训待办信息
	public static final String APP_BACKLOG_TYPE_2 = "2";//应急演练待办信息
	public static final String APP_BACKLOG_TYPE_3 = "3";//设备检查待办信息
	public static final String APP_BACKLOG_TYPE_4 = "4";//设备整改待办信息
	public static final String APP_BACKLOG_TYPE_5 = "5";//设备持续整改代办信息


	public static final String USUAL_STATE_FALSE="0"; //否
	public static final String USUAL_STATE_TURE="1"; //是


	public static final String SUBMIT_TYPE_ZERO="0"; //暂存
	public static final String SUBMIT_TYPE_ONE="1"; //提报/警情推送

	public static final String BUTTON_STATE_ZERO="0"; //按钮状态0
	public static final String BUTTON_STATE_ONE="1"; //按钮状态1
	public static final String BUTTON_STATE_TOW="2"; //按钮状态2
	public static final String BUTTON_STATE_THREE="3"; //按钮状态3

	public static final String CHECK_TYPE_OUTLETS="1"; //营业网点检查
	public static final String CHECK_TYPE_SELF_BANK="2"; //自助银行检查

	public static final String CHECK_STATUS_ZERO="0"; //营业网点或自助银行检查结果状态-异常
	public static final String CHECK_STATUS_ONE="1"; //营业网点或自助银行检查结果状态-正常
	public static final String CHECK_STATUS_TWO="2"; //营业网点或自助银行检查结果状态-已整改

	public static final String NOTICE_TYPE_ONE="1"; //营业网点检查整改通知书
	public static final String NOTICE_TYPE_TWO="2"; //自助银行检查整改通知书
	public static final String NOTICE_TYPE_THREE="3"; //其他检查整改通知书

	public static final String LEADER = "leader";//机构负责人
	public static final String LEADER_IN_CHARGE="leaderInCharge";//分管领导
	public static final String SAFER = "safer";//安全员

	public static final String PUSH_STATE_ZERO="0"; //待推送
	public static final String PUSH_STATE_ONE="1"; //已推送
	public static final String PUSH_STATE_TWO="2"; //已办结/已提报
	public static final String PUSH_STATUS_ZERO="0"; //未提报
	public static final String PUSH_STATUS_ONE="1"; //按时提报
	public static final String PUSH_STATUS_TWO="2"; //超时提报
	public static final String PUSH_STATUS_THREE="3"; //超时未提报

	public static final String ALARM_TYPE_PERSON="1"; //外侵事件
	public static final String ALARM_TYPE_DEVICE="2"; //设备报警
	public static final String ALARM_TYPE_OTHER="3"; //其他

	public static final String MENU_TYPE_ZERO="0"; //推送警情
	public static final String MENU_TYPE_ONE="1"; //接收警情信息


	public static final String PROJECT_NODE_START="0"; //项目节点-开始
	public static final String PROJECT_NODE_ESTABLISHMENT="1"; //项目节点-立项
	public static final String PROJECT_NODE_PURCHASE="2"; //项目节点-采购
	public static final String PROJECT_NODE_CONTRACT="3"; //项目节点-合同
	public static final String PROJECT_NODE_IMPLEMENTATION="4"; //项目节点-实施
	public static final String PROJECT_NODE_CHECK="5"; //项目节点-验收
	public static final String PROJECT_NODE_OVER="6"; //项目节点-结项
	public static final String PROJECT_NODE_REVIEW="7"; //项目节点-审阅通过


	public static final String REMINDER_STATE_DRAFT="0"; //便签提醒-未提交（初始状态）
	public static final String REMINDER_STATE_SUBMIT="1"; //便签提醒-已提交（提交之后，在提醒期内被提醒人可见）
	public static final String REMINDER_STATE_DONE="2"; //便签提醒-已关闭（被提醒人主动关闭提醒）
	public static final String REMINDER_STATE_END="3"; //便签提醒-已结束（提醒到期，自动结束）

	public static final Integer PROJECT_OVER = 1; //项目结项
	public static final Integer PROJECT_OVER_REJECT = 2; //结项驳回
	public static final Integer PROJECT_OVER_AGREE = 3; //同意结项

	public static final Integer PROJECT_PAY_PLAN_ONE = 1; //项目付款计划-质保金付款
	public static final Integer PROJECT_PAY_PLAN_TWO = 2; //项目付款计划-其他付款

	public static final String PROJECT_OVER_ONE = "1"; //有权限进行项目结项驳回和同意操作
	public static final String PROJECT_OVER_TWO = "2"; //无权限进行项目结项驳回和同意操作

	public static final String PROBLEM_STATE_ZORE="0";//暂存
	public static final String PROBLEM_STATE_DRAFT_ONE="1";//待整改
	public static final String PROBLEM_STATE_WAIT_TWO="2";//按时整改
	public static final String PROBLEM_STATE_THREE="3";//超时整改
	public static final String PROBLEM_STATE_FOURE="4";//超时未整改
	public static final String PROBLEM_STATE_CONTIUE="5";//持续整改
	public static final String PROBLEM_STATE_SIX="6";//6-待安全员确认


	public static final String PROBLEM_STATE_USUUAL="1";//普通一次性整改记录
	public static final String PROBLEM_STATE_CONTINUED="2";//持续整改后续补充整改记录

	public static final String FORM_STATE_DRAFT="0"; //表单或信息状态-草稿
	public static final String FORM_STATE_VALID="1"; //表单或信息状态-正式启用
	public static final String FORM_STATE_END="2"; //表单或信息状态-停用

	public static final int WORK_HANDOVER_USER_TYPE_BANK=1; //行内用户
	public static final int WORK_HANDOVER_USER_TYPE_OUT=2; //外包用户

	public static final String INCLUDE_CHILDREN_TYPE_ZERO = "0"; //统计机构不包含子级机构数据
	public static final String INCLUDE_CHILDREN_TYPE_ONE = "1"; //统计机构包含子级机构数据

	public static final String EDU_DATA_TYPE = "1"; //教育培训和应急演练数据统计类型标识符-教育培训
	public static final String DRILL_DATA_TYPE = "2"; //教育培训和应急演练数据统计类型标识符-应急演练

	public static final String ASSESSMENT_TYPE_ONE = "1"; //考核评价类型标识符-机构自评
	public static final String ASSESSMENT_TYPE_TWO = "2"; //考核评价类型标识符-行内考核
	public static final String ASSESSMENT_TYPE_THREE = "3"; //考核评价类型标识符-外部考核
	public static final String ASSESSMENT_TYPE_FOUR = "4"; //考核评价类型标识符-外包公司考核
	public static final String ASSESSMENT_TYPE_FIVE = "5"; //考核评价类型标识符-项目考核

	public static final String STATISTICS_ASSESSMENT_TYPE_ONE = "1"; //考核评价数据统计类型标识符-机构考核统计
	public static final String STATISTICS_ASSESSMENT_TYPE_TWO = "2"; //考核评价数据统计类型标识符-相关方考核统计
	public static final String STATISTICS_ASSESSMENT_TYPE_THREE = "3"; //考核评价数据统计类型标识符-项目考核统计

}
