package com.zy.core.utils.station.model;
|
|
import lombok.Getter;
|
|
@Getter
|
public class LoopHitResult {
|
private final boolean throughLoop;
|
private final Integer loopNo;
|
private final Integer hitStationId;
|
|
public LoopHitResult(boolean throughLoop, Integer loopNo, Integer hitStationId) {
|
this.throughLoop = throughLoop;
|
this.loopNo = loopNo;
|
this.hitStationId = hitStationId;
|
}
|
|
public static LoopHitResult noHit() {
|
return new LoopHitResult(false, null, null);
|
}
|
}
|