1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package com.lyms.hospital.enums;public enum HighRiskChangeHospitalStatusEnum { // 待接收 WAIT(1), // 已接收 RECEIVED(2); private int status; private HighRiskChangeHospitalStatusEnum(int status) { this.status = status; } public int getStatus() { return this.status; }}