Added toString() method
This commit is contained in:
parent
06a2ea2f5c
commit
4b9f7ff121
@ -38,4 +38,11 @@ public class Outfit extends DatabaseModel {
|
||||
"display_count INT," +
|
||||
"deletion_hash TEXT)";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("Outfit: [id: %s, link: %s, submitter: %s, tag: %s, created: %s, updated: %s, deleted: %s, featured: %s, display count: %s, deletion hash: %s",
|
||||
id, link, submitter, tag, created, updated, deleted, featured, displayCount, deletionHash
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user