package com.qianwen.smartman.modules.tpm.enums; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/enums/RepairApplyStatusEnum.class */ public enum RepairApplyStatusEnum { Y1(1, "待执行"), Y2(2, "执行中"), Y3(3, "待确认"), Y4(4, "已确认"); private final int type; private final String desc; RepairApplyStatusEnum(final int type, final String desc) { this.type = type; this.desc = desc; } public int getType() { return this.type; } public String getDesc() { return this.desc; } public static RepairApplyStatusEnum of(Integer type) { if (type == null) { return null; } RepairApplyStatusEnum[] values = values(); for (RepairApplyStatusEnum repairApplyStatusEnum : values) { if (repairApplyStatusEnum.type == type.intValue()) { return repairApplyStatusEnum; } } return null; } }