mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-11 01:37:07 +00:00
#1649 - ENH: Add optional length() attribute to @DbEnumValue
This commit is contained in:
1 parent
bfeb0cd667
commit
9ded3890d7
3 files changed
+5
-6
No files matched your search
@@ -26,7 +26,7 @@ public class Truck extends Vehicle {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@DbEnumValue
|
||||
@DbEnumValue(length = 3)
|
||||
public String value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user