Add @ToString annotations to all models

This commit is contained in:
Colin McDonald 2016-02-07 20:52:03 -05:00
parent 83d43ef57f
commit dccbca98bb
10 changed files with 30 additions and 0 deletions

View File

@ -1,5 +1,8 @@
package net.frozenorb.apiv3.collections; package net.frozenorb.apiv3.collections;
import lombok.ToString;
@ToString
public final class AuditLog { public final class AuditLog {
public static final String COLLECTION_NAME = "auditLog"; public static final String COLLECTION_NAME = "auditLog";

View File

@ -1,5 +1,8 @@
package net.frozenorb.apiv3.collections; package net.frozenorb.apiv3.collections;
import lombok.ToString;
@ToString
public final class EmailTemplate { public final class EmailTemplate {
public static final String COLLECTION_NAME = "emailTemplate"; public static final String COLLECTION_NAME = "emailTemplate";

View File

@ -1,5 +1,8 @@
package net.frozenorb.apiv3.collections; package net.frozenorb.apiv3.collections;
import lombok.ToString;
@ToString
public final class Grant { public final class Grant {
public static final String COLLECTION_NAME = "grant"; public static final String COLLECTION_NAME = "grant";

View File

@ -1,5 +1,8 @@
package net.frozenorb.apiv3.collections; package net.frozenorb.apiv3.collections;
import lombok.ToString;
@ToString
public final class IPBan { public final class IPBan {
public static final String COLLECTION_NAME = "ipBan"; public static final String COLLECTION_NAME = "ipBan";

View File

@ -1,5 +1,8 @@
package net.frozenorb.apiv3.collections; package net.frozenorb.apiv3.collections;
import lombok.ToString;
@ToString
public final class IPLog { public final class IPLog {
public static final String COLLECTION_NAME = "ipLog"; public static final String COLLECTION_NAME = "ipLog";

View File

@ -1,5 +1,8 @@
package net.frozenorb.apiv3.collections; package net.frozenorb.apiv3.collections;
import lombok.ToString;
@ToString
public final class MaxMindCache { public final class MaxMindCache {
public static final String COLLECTION_NAME = "maxMindCache"; public static final String COLLECTION_NAME = "maxMindCache";

View File

@ -1,5 +1,8 @@
package net.frozenorb.apiv3.collections; package net.frozenorb.apiv3.collections;
import lombok.ToString;
@ToString
public final class NotificationLog { public final class NotificationLog {
public static final String COLLECTION_NAME = "notificationLog"; public static final String COLLECTION_NAME = "notificationLog";

View File

@ -1,5 +1,8 @@
package net.frozenorb.apiv3.collections; package net.frozenorb.apiv3.collections;
import lombok.ToString;
@ToString
public final class Punishment { public final class Punishment {
public static final String COLLECTION_NAME = "punishment"; public static final String COLLECTION_NAME = "punishment";

View File

@ -1,5 +1,8 @@
package net.frozenorb.apiv3.collections; package net.frozenorb.apiv3.collections;
import lombok.ToString;
@ToString
public final class ServerGroup { public final class ServerGroup {
public static final String COLLECTION_NAME = "serverGroup"; public static final String COLLECTION_NAME = "serverGroup";

View File

@ -1,5 +1,8 @@
package net.frozenorb.apiv3.collections; package net.frozenorb.apiv3.collections;
import lombok.ToString;
@ToString
public final class User { public final class User {
public static final String COLLECTION_NAME = "user"; public static final String COLLECTION_NAME = "user";