test[orm]: index test

This commit is contained in:
godotg committed 2024-07-19 18:16:58 +08:00
1 parent b1cbc73dbd
commit c944853d45
1 file changed
+3 -3
@@ -34,7 +34,7 @@ public class UserEntity implements IEntity<Long> {
private short b;
@Index(ascending = false, unique = true)
private int c;
private long c;
private boolean d;
@@ -92,11 +92,11 @@ public class UserEntity implements IEntity<Long> {
this.b = b;
}
public int getC() {
public long getC() {
return c;
}
public void setC(int c) {
public void setC(long c) {
this.c = c;
}