mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 00:15:24 +00:00
test[orm]: index test
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user