package com.its.api.its.model.entity.link;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 교통 가공 통계 Entity Class
 */
@Getter
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Builder
@AllArgsConstructor
@ApiModel("교통 가공 통계")
@Entity
@Table(name = "TB_TRFC_PRCN_STAT")
public class TbTrfcPrcnStat implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("가공 일시")  // N VARCHAR(14)
    @Id
    @Column(name = "PRCN_DT", nullable = false, length = 14)
    private String prcnDt;

    @ApiModelProperty("결측 개수")  // Y NUMBER(7)
    @Column(name = "MISS_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer missNum;

    @ApiModelProperty("보정 개수")  // Y NUMBER(7)
    @Column(name = "ADJS_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer adjsNum;

    @ApiModelProperty("평활화 개수")  // Y NUMBER(7)
    @Column(name = "SMTH_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer smthNum;

    @ApiModelProperty("링크 원활 개수")  // Y NUMBER(7)
    @Column(name = "LINK_LIGT_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer linkLigtNum;

    @ApiModelProperty("링크 지체 개수")  // Y NUMBER(7)
    @Column(name = "LINK_DELY_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer linkDelyNum;

    @ApiModelProperty("링크 정체 개수")  // Y NUMBER(7)
    @Column(name = "LINK_CNGS_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer linkCngsNum;

    @ApiModelProperty("정보제공구간 원활 개수")  // Y NUMBER(7)
    @Column(name = "IFSC_LIGT_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer ifscLigtNum;

    @ApiModelProperty("정보제공구간 지체 개수")  // Y NUMBER(7)
    @Column(name = "IFSC_DELY_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer ifscDelyNum;

    @ApiModelProperty("정보제공구간 정체 개수")  // Y NUMBER(7)
    @Column(name = "IFSC_CNGS_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer ifscCngsNum;

    @ApiModelProperty("도로 원활 개수")  // Y NUMBER(7)
    @Column(name = "ROAD_LIGT_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer roadLigtNum;

    @ApiModelProperty("도로 지체 개수")  // Y NUMBER(7)
    @Column(name = "ROAD_DELY_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer roadDelyNum;

    @ApiModelProperty("도로 정체 개수")  // Y NUMBER(7)
    @Column(name = "ROAD_CNGS_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer roadCngsNum;

    @ApiModelProperty("VMS 정보제공구간 원활 개수")  // Y NUMBER(7)
    @Column(name = "VMS_IFSC_LIGT_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer vmsIfscLigtNum;

    @ApiModelProperty("VMS 정보제공구간 지체 개수")  // Y NUMBER(7)
    @Column(name = "VMS_IFSC_DELY_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer vmsIfscDelyNum;

    @ApiModelProperty("VMS 정보제공구간 정체 개수")  // Y NUMBER(7)
    @Column(name = "VMS_IFSC_CNGS_NUM", columnDefinition = "NUMBER", length = 7)
    private Integer vmsIfscCngsNum;

}
