mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-22 22:21:09 +08:00
Add optional small icon for categories and tags
This commit is contained in:
@@ -21,6 +21,9 @@ public class Category {
|
||||
@Column(nullable = false)
|
||||
private String icon;
|
||||
|
||||
@Column
|
||||
private String smallIcon;
|
||||
|
||||
@Column(nullable = false)
|
||||
private String describe;
|
||||
}
|
||||
|
||||
@@ -21,6 +21,9 @@ public class Tag {
|
||||
@Column
|
||||
private String icon;
|
||||
|
||||
@Column
|
||||
private String smallIcon;
|
||||
|
||||
@Column(nullable = false)
|
||||
private String describe;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user