File tree Expand file tree Collapse file tree
src/main/java/org/mangorage/mangobotplugin/commands/trick Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import com .google .gson .annotations .Expose ;
44import jakarta .persistence .Column ;
55import jakarta .persistence .Entity ;
6- import jakarta .persistence .GeneratedValue ;
76import jakarta .persistence .Id ;
87import jakarta .persistence .Table ;
98import org .mangorage .mangobotcore .api .util .data .FileName ;
1514@ Table (name = "tricks" )
1615public final class Trick implements IFileNameResolver {
1716
18- @ GeneratedValue
1917 @ Id
2018 private UUID uuid ;
2119
@@ -68,6 +66,7 @@ public final class Trick implements IFileNameResolver {
6866 private Trick () {}
6967
7068 public Trick (String trickID , long guildID ) {
69+ this .uuid = UUID .randomUUID ();
7170 this .trickID = trickID ;
7271 this .guildID = guildID ;
7372 this .created = System .currentTimeMillis ();
You can’t perform that action at this time.
0 commit comments