package com.its.api.its.model.dto.atrd;

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

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("AtrdRltnIdDto(간선도록 구성 ID 목록)")
public class AtrdRltnIdDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("순서")
    @JsonProperty("ord")
    private Integer ord;

    @ApiModelProperty("ID (LINK, IFSC, ROAD)")
    @JsonProperty("id")
    private Long id;

    @ApiModelProperty("명칭")
    @JsonProperty("name")
    private String name;

    @ApiModelProperty("시점 명")  // Y VARCHAR(100)
    @JsonProperty("strt_nm")
    private String strtNm;

    @ApiModelProperty("종점 명")  // Y VARCHAR(100)
    @JsonProperty("end_nm")
    private String endNm;

    @ApiModelProperty("구간 길이")  // Y NUMBER(5)
    @JsonProperty("sect_lngt")
    private Integer sectLngt;

}
