mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1649 - ENH: Add optional length() attribute to @DbEnumValue
This commit is contained in:
@@ -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