mirror of
https://github.com/CarmJos/EasyConfiguration.git
synced 2026-06-04 10:38:19 +08:00
18 lines
417 B
Java
18 lines
417 B
Java
package config.model;
|
|
|
|
import org.bspfsystems.yamlconfiguration.serialization.ConfigurationSerializable;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
public abstract class AbstractModel implements ConfigurationSerializable {
|
|
|
|
protected final @NotNull String name;
|
|
|
|
public AbstractModel(@NotNull String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public @NotNull String getName() {
|
|
return name;
|
|
}
|
|
}
|