2024-06-25 15:43:36 +01:00
|
|
|
package cc.fascinated.bat.features;
|
|
|
|
|
2024-06-26 12:19:11 +01:00
|
|
|
import lombok.AllArgsConstructor;
|
2024-06-25 15:43:36 +01: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 12:19:11 +01: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 15:43:36 +01:00
|
|
|
}
|