package com.its.web.dto.traffic;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("TbScCmraArrowDto(스마트교차로 카메라 화살표 DTO)")
public class TbScCmraArrowDto {

    @ApiModelProperty("교차로 ID")
    @JsonProperty("ixr_id")
    private String ixrId;

    @ApiModelProperty("카메라 ID")
    @JsonProperty("cmra_id")
    private String cmraId;

    @ApiModelProperty("방향 코드")
    @JsonProperty("drct_dvsn_cd")
    private Integer drctDvsnCd;

    @ApiModelProperty("화살표 시작 X좌표")
    @JsonProperty("start_x")
    private Double startX;

    @ApiModelProperty("화살표 끝 X 좌표")
    @JsonProperty("end_x")
    private Double endX;

    @ApiModelProperty("화살표 시작 X 좌표")
    @JsonProperty("start_y")
    private Double startY;

    @ApiModelProperty("화살표 끝 Y 좌표")
    @JsonProperty("end_y")
    private Double endY;
}
