package com.gkhy.safePlatform.incidentManage.enums; public enum AccidentResultCodes{ ACCIDENT_EXPRESS_NULL("A1001", "事故快报不可为空"), ACCIDENT_EXPRESS_NOT_EXIST("A1002", "事故快报不存在"), EXPRESS_NAME_NULL("E1001","事故快报名称不能为空"), EXPRESS_DEPARTMENT_NULL("E1002","事故快报事故部门不能为空"), EXPRESS_TIME_NULL("E1003","事故快报发生时间不能为空"), EXPRESS_PLACE_NULL("E1004","事故快报发生地点不能为空"), EXPRESS_CAUSE_NULL("E1005","事故快报事故原因不能为空"), EXPRESS_CASUALTIES_NULL("E1006","事故快报是否有伤亡不能为空"), EXPRESS_BRIEF_PROCESS_NULL("E1007","事故快报事故简要经过不能为空"), EXPRESS_CASE_PRELIMINARY_ANALYSIS_NULL("E1008","事故快报事故原因初步分析不能为空"), EXPRESS_EMERGENCY_PRECAUTIONS_NULL("E1009","事故快报应急防范措施不能为空"), ACCIDENT_REPORT_NULL("A1001", "事故报告不可为空"), ACCIDENT_REPORT_NOT_EXIST("A1002", "事故报告不存在"), ERROR("A3000", "未知错误"); private String code; private String desc; private AccidentResultCodes(String code, String desc) { this.code = code; this.desc = desc; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getDesc() { return this.desc; } public void setDesc(String desc) { this.desc = desc; } }