package com.its.op.dto.its.rse;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.its.op.entity.its.rse.TbRseCtlrCnncHs;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.PositiveOrZero;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * RSE 접속로그 이력 DTO Class
 */
@Data
@Builder
@ApiModel("TbRseCtlrCnncHsDto(RSE 접속로그 이력)")
public class TbRseCtlrCnncHsDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("RSE 제어기 번호")  // N NUMBER(10)
    @JsonProperty("rse_ctlr_nmbr")
    private Long rseCtlrNmbr;

    @ApiModelProperty("수집 일시")  // N VARCHAR2(14)
    @JsonProperty("clct_dt")
    private String clctDt;

    @ApiModelProperty("로그 유형")  // Y VARCHAR2(7)
    @JsonProperty("log_type")
    private String logType;

    @ApiModelProperty("로그 ID")  // Y VARCHAR2(64)
    @JsonProperty("log_id")
    private String logId;

    @ApiModelProperty("로그 ADDRESS")  // Y VARCHAR2(20)
    @JsonProperty("log_address")
    private String logAddress;

    // Code Description Field
    @ApiModelProperty("RSE 제어기 ID")  // Y VARCHAR2(30)
    @JsonProperty("rse_ctlr_id")
    private String rseCtlrId;

    @ApiModelProperty("RSE 명칭")  // Y VARCHAR2(40)
    @JsonProperty("rse_nm")
    private String rseNm;

    @ApiModelProperty("설치 위치 명")  // Y VARCHAR2(40)
    @JsonProperty("istl_lctn_nm")
    private String istlLctnNm;

}
