Bat/src/main/java/cc/fascinated/bat/features/Feature.java

41 lines
806 B
Java
Raw Normal View History

2024-06-25 14:43:36 +00:00
package cc.fascinated.bat.features;
2024-06-26 11:19:11 +00:00
import lombok.AllArgsConstructor;
2024-06-25 14:43:36 +00:00
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;
/**
* @author Fascinated (fascinated7)
*/
@RequiredArgsConstructor
@Getter
@Component
public abstract class Feature {
/**
* The name of the feature
*/
private final String name;
2024-06-26 11:19:11 +00:00
/**
* The category of the feature
*/
private final Category category;
/**
* The category of the feature
*/
@AllArgsConstructor @Getter
public enum Category {
GENERAL("General"),
MODERATION("Moderation"),
SERVER("Server"),
BEAT_SABER("Beat Saber");
/**
* The name of the category
*/
private final String name;
}
2024-06-25 14:43:36 +00:00
}