diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-11-29 17:10:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 17:10:55 +0100 |
commit | d7fbd40aad2080adf7033e8f668e5218ab12bace (patch) | |
tree | 0b7c8e4f0a8427a6eccdeb19882ce90ccbdd852c /src/main/java/org/uic/barcode/ticket/api/asn/omv2/ParkingGroundData.java | |
parent | Merge pull request #35 from UnionInternationalCheminsdeFer/1.2.8 (diff) | |
parent | additional tests (diff) | |
download | UIC-barcode-d7fbd40aad2080adf7033e8f668e5218ab12bace.tar UIC-barcode-d7fbd40aad2080adf7033e8f668e5218ab12bace.tar.gz UIC-barcode-d7fbd40aad2080adf7033e8f668e5218ab12bace.tar.bz2 UIC-barcode-d7fbd40aad2080adf7033e8f668e5218ab12bace.tar.lz UIC-barcode-d7fbd40aad2080adf7033e8f668e5218ab12bace.tar.xz UIC-barcode-d7fbd40aad2080adf7033e8f668e5218ab12bace.tar.zst UIC-barcode-d7fbd40aad2080adf7033e8f668e5218ab12bace.zip |
Diffstat (limited to '')
-rw-r--r-- | src/main/java/org/uic/barcode/ticket/api/asn/omv2/ParkingGroundData.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv2/ParkingGroundData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv2/ParkingGroundData.java index b917bf8..efffe52 100644 --- a/src/main/java/org/uic/barcode/ticket/api/asn/omv2/ParkingGroundData.java +++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv2/ParkingGroundData.java @@ -51,10 +51,11 @@ public class ParkingGroundData extends Object { @FieldOrder(order = 3)
@IntRange(minValue=-1,maxValue=370)
- @Asn1Optional public Long fromParkingDate;
+ public Long fromParkingDate;
@FieldOrder(order = 4)
@IntRange(minValue=0,maxValue=370)
+ @Asn1Default(value = "0")
@Asn1Optional public Long toParkingDate;
@FieldOrder(order = 5)
@@ -90,7 +91,7 @@ public class ParkingGroundData extends Object { @Asn1Optional public Long stationNum;
@FieldOrder(order = 13)
- @RestrictedString(CharacterRestriction.IA5String)
+ @RestrictedString(CharacterRestriction.UTF8String)
@Asn1Optional public String stationIA5;
@FieldOrder(order = 14)
|