forked from Qortal/qortal
Added categoryName to ArbitraryResourceMetadata, along with the existing category ID
This commit is contained in:
parent
8d81f1822f
commit
e6f93e0a08
@ -14,6 +14,7 @@ public class ArbitraryResourceMetadata {
|
||||
private String description;
|
||||
private List<String> tags;
|
||||
private Category category;
|
||||
private String categoryName;
|
||||
|
||||
public ArbitraryResourceMetadata() {
|
||||
}
|
||||
@ -23,6 +24,7 @@ public class ArbitraryResourceMetadata {
|
||||
this.description = description;
|
||||
this.tags = tags;
|
||||
this.category = category;
|
||||
this.categoryName = category.getName();
|
||||
}
|
||||
|
||||
public static ArbitraryResourceMetadata fromTransactionMetadata(ArbitraryDataTransactionMetadata transactionMetadata) {
|
||||
|
Loading…
Reference in New Issue
Block a user