updated enum formatting
This commit is contained in:
@@ -12,11 +12,14 @@ public abstract class BaseCourse<ConcreteT extends BaseCourse<ConcreteT>> extend
|
||||
public enum Access {
|
||||
@JsonProperty("private")
|
||||
@MapEntry("private")
|
||||
Private, @JsonProperty("military")
|
||||
Private,
|
||||
@JsonProperty("military")
|
||||
@MapEntry("military")
|
||||
Military, @JsonProperty("semi-private")
|
||||
Military,
|
||||
@JsonProperty("semi-private")
|
||||
@MapEntry("semi-private")
|
||||
SemiPrivate, @JsonProperty("public")
|
||||
SemiPrivate,
|
||||
@JsonProperty("public")
|
||||
@MapEntry("public")
|
||||
Public,
|
||||
}
|
||||
|
@@ -14,11 +14,14 @@ public abstract class BaseEvent<ConcreteT extends BaseEvent<ConcreteT>> extends
|
||||
public enum EventType {
|
||||
@JsonProperty("outing")
|
||||
@MapEntry("outing")
|
||||
Outing, @JsonProperty("tourney")
|
||||
Outing,
|
||||
@JsonProperty("tourney")
|
||||
@MapEntry("tourney")
|
||||
Tourney, @JsonProperty("trip")
|
||||
Tourney,
|
||||
@JsonProperty("trip")
|
||||
@MapEntry("trip")
|
||||
Trip, @JsonProperty("league")
|
||||
Trip,
|
||||
@JsonProperty("league")
|
||||
@MapEntry("league")
|
||||
League
|
||||
}
|
||||
|
@@ -15,11 +15,14 @@ public abstract class BaseEventRound<ConcreteT extends BaseEventRound<ConcreteT>
|
||||
public enum TeeFormat {
|
||||
@JsonProperty("straight")
|
||||
@MapEntry("straight")
|
||||
Straight, @JsonProperty("dual")
|
||||
Straight,
|
||||
@JsonProperty("dual")
|
||||
@MapEntry("dual")
|
||||
Dual, @JsonProperty("shotgun-9")
|
||||
Dual,
|
||||
@JsonProperty("shotgun-9")
|
||||
@MapEntry("shotgun-9")
|
||||
Shotgun9Hole, @JsonProperty("shotgun-18")
|
||||
Shotgun9Hole,
|
||||
@JsonProperty("shotgun-18")
|
||||
@MapEntry("shotgun-18")
|
||||
Shotgun18Hole
|
||||
}
|
||||
|
Reference in New Issue
Block a user