package com.jeesharp.business.modules.common.bizscene.enums;

import com.jeesharp.business.modules.common.enums.support.EnumValueSupport;
import com.jeesharp.business.modules.common.enums.support.IntValueEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 业务业态场景状态枚举。
 *
 * @author jeesharp
 * @since 2026-07-03
 */
@Getter
@AllArgsConstructor
public enum BizSceneStatusEnum implements IntValueEnum {

    DISABLED(0, "禁用"),
    ENABLED(1, "启用");

    private final Integer value;
    private final String desc;

    public static BizSceneStatusEnum fromValue(Integer value) {
        return EnumValueSupport.fromIntValue(BizSceneStatusEnum.class, value);
    }

    public static String getDescByValue(Integer value) {
        return EnumValueSupport.descByIntValue(BizSceneStatusEnum.class, value);
    }
}
