add lombok to clean codebase
This commit is contained in:
@@ -36,5 +36,12 @@
|
||||
<version>${querydsl.version}</version>
|
||||
<classifier>jakarta</classifier>
|
||||
</dependency>
|
||||
|
||||
<!-- Lombok -->
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
||||
@@ -18,12 +18,16 @@ import org.springframework.data.annotation.Reference;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import de.bstly.we.model.UserData;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* The Class JitsiRoom.
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "jitsi_rooms")
|
||||
@Getter
|
||||
@Setter
|
||||
public class JitsiRoom implements UserData {
|
||||
|
||||
@Id
|
||||
@@ -55,219 +59,4 @@ public class JitsiRoom implements UserData {
|
||||
@Column(length = 100000)
|
||||
private String orgUrl;
|
||||
|
||||
/**
|
||||
* Gets the id.
|
||||
*
|
||||
* @return the id
|
||||
*/
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the id.
|
||||
*
|
||||
* @param id the new id
|
||||
*/
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 room.
|
||||
*
|
||||
* @return the room
|
||||
*/
|
||||
public String getRoom() {
|
||||
return room;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the room.
|
||||
*
|
||||
* @param room the new room
|
||||
*/
|
||||
public void setRoom(String room) {
|
||||
this.room = room;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the starts.
|
||||
*
|
||||
* @return the starts
|
||||
*/
|
||||
public Instant getStarts() {
|
||||
return starts;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the starts.
|
||||
*
|
||||
* @param starts the new starts
|
||||
*/
|
||||
public void setStarts(Instant starts) {
|
||||
this.starts = starts;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the moderation starts.
|
||||
*
|
||||
* @return the moderation starts
|
||||
*/
|
||||
public Instant getModerationStarts() {
|
||||
return moderationStarts;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the moderation starts.
|
||||
*
|
||||
* @param moderationStarts the new moderation starts
|
||||
*/
|
||||
public void setModerationStarts(Instant moderationStarts) {
|
||||
this.moderationStarts = moderationStarts;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the expires.
|
||||
*
|
||||
* @return the expires
|
||||
*/
|
||||
public Instant getExpires() {
|
||||
return expires;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the expires.
|
||||
*
|
||||
* @param expires the new expires
|
||||
*/
|
||||
public void setExpires(Instant expires) {
|
||||
this.expires = expires;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the token.
|
||||
*
|
||||
* @return the token
|
||||
*/
|
||||
public String getToken() {
|
||||
return token;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the token.
|
||||
*
|
||||
* @param token the new token
|
||||
*/
|
||||
public void setToken(String token) {
|
||||
this.token = token;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the moderation token.
|
||||
*
|
||||
* @return the moderation token
|
||||
*/
|
||||
public String getModerationToken() {
|
||||
return moderationToken;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the moderation token.
|
||||
*
|
||||
* @param moderationToken the new moderation token
|
||||
*/
|
||||
public void setModerationToken(String moderationToken) {
|
||||
this.moderationToken = moderationToken;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the url.
|
||||
*
|
||||
* @return the url
|
||||
*/
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the url.
|
||||
*
|
||||
* @param url the new url
|
||||
*/
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the moderation url.
|
||||
*
|
||||
* @return the moderation url
|
||||
*/
|
||||
public String getModerationUrl() {
|
||||
return moderationUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the moderation url.
|
||||
*
|
||||
* @param moderationUrl the new moderation url
|
||||
*/
|
||||
public void setModerationUrl(String moderationUrl) {
|
||||
this.moderationUrl = moderationUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the code.
|
||||
*
|
||||
* @return the code
|
||||
*/
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the code.
|
||||
*
|
||||
* @param code the new code
|
||||
*/
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the org url.
|
||||
*
|
||||
* @return the org url
|
||||
*/
|
||||
public String getOrgUrl() {
|
||||
return orgUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the org url.
|
||||
*
|
||||
* @param orgUrl the new org url
|
||||
*/
|
||||
public void setOrgUrl(String orgUrl) {
|
||||
this.orgUrl = orgUrl;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user