add lombok to clean codebase

This commit is contained in:
2025-11-09 18:40:38 +01:00
parent 8d9b10bace
commit c27e68caf0
88 changed files with 704 additions and 7787 deletions
+7
View File
@@ -25,5 +25,12 @@
<version>${querydsl.version}</version>
<classifier>jakarta</classifier>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>
@@ -10,12 +10,16 @@ import jakarta.persistence.Lob;
import jakarta.persistence.Table;
import de.bstly.we.model.UserData;
import lombok.Getter;
import lombok.Setter;
/**
* The Class MinetestAccount.
*/
@Entity
@Table(name = "minetest_accounts")
@Getter
@Setter
public class MinetestAccount implements UserData {
@Id
@@ -27,58 +31,4 @@ public class MinetestAccount implements UserData {
@Column(name = "skin", length = 100000)
private String skin;
/**
* Gets the name.
*
* @return the name
*/
public String getName() {
return name;
}
/**
* Sets the name.
*
* @param name the new name
*/
public void setName(String name) {
this.name = name;
}
/**
* Gets the owner.
*
* @return the owner
*/
public Long getOwner() {
return owner;
}
/**
* Sets the owner.
*
* @param owner the new owner
*/
public void setOwner(Long owner) {
this.owner = owner;
}
/**
* Gets the skin.
*
* @return the skin
*/
public String getSkin() {
return skin;
}
/**
* Sets the skin.
*
* @param skin the new skin
*/
public void setSkin(String skin) {
this.skin = skin;
}
}