package com.its.op.dto.its.oper;

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

import java.io.Serializable;

/**
 * 사용자접속이력 DTO Class
 */
@Data
@AllArgsConstructor
@Builder
@ApiModel("TbUsercnncHsDto(사용자접속이력)")
public class TbUserCnncHsDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("운영시스템ID(WEB:웹관리자로그인)")  // N VARCHAR2(7)
    @JsonProperty("oper_syst_id")
    private String operSystId;

    @ApiModelProperty("로그인시각")  // N VARCHAR2(14)
    @JsonProperty("login_hms")
    private String loginHms;

    @ApiModelProperty("사용자ID(웹사용자 email)")  // N VARCHAR2(50)
    @JsonProperty("user_id")
    private String userId;

    @ApiModelProperty("로그아웃시각")  // Y VARCHAR2(14)
    @JsonProperty("logout_hms")
    private String logoutHms;

}
