| | |
| | | @Data |
| | | public class PathDto { |
| | | |
| | | private String codeData; |
| | | private String code; |
| | | |
| | | private int[] coordinate; |
| | | private Double direction; |
| | | |
| | | private boolean turn = false; |
| | | |
| | | public PathDto() { |
| | | } |
| | | |
| | | public PathDto(String codeData, int[] coordinate) { |
| | | this.codeData = codeData; |
| | | this.coordinate = coordinate; |
| | | public PathDto(String code, Double direction) { |
| | | this.code = code; |
| | | this.direction = direction; |
| | | } |
| | | |
| | | public PathDto(String code, Double direction, boolean turn) { |
| | | this.code = code; |
| | | this.direction = direction; |
| | | this.turn = turn; |
| | | } |
| | | |
| | | } |