package com.its.bis.dto;

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

import java.io.Serializable;

/**
 * 링크정보 DTO Class
 */
@Data
@Builder
@ApiModel("TbLinkDto(링크정보)")
public class TbLinkDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("링크ID")  // N NUMBER(10)
    private Long linkId;

    @ApiModelProperty("시작노드ID")  // Y NUMBER(10)
    private Long fNodeId;

    @ApiModelProperty("종료노드ID")  // Y NUMBER(10)
    private Long tNodeId;

    @ApiModelProperty("차로수")  // Y NUMBER(4)
    @JsonProperty("lanes")
    private Integer lanes;

    @ApiModelProperty("최고제한속도")  // Y NUMBER(4)
    private Integer maxSpd;

    @ApiModelProperty("링크 길이")  // Y NUMBER(5)
    private Integer linkLeng;

    @ApiModelProperty("비고")  // Y VARCHAR(200)
    @JsonProperty("rmrk")
    private String rmrk;

    @ApiModelProperty("삭제 여부")  // Y CHAR(1)
    @JsonProperty("del_yn")
    private String delYn;

}
