package com.its.api.bis.model.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;
import java.time.LocalDateTime;

/**
 *  DTO Class
 */
@Data
@Builder
@ApiModel("ProcessstatusHistoryDto(프로세스 상태 이력)")
public class BisProcessStatusHistoryDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("collectdate")  // N DATE(0)
    @JsonProperty("collectdate")
    private LocalDateTime collectdate;

    @ApiModelProperty("collecttimestamp")  // N TIMESTAMP(6)(0)
    @JsonProperty("collecttimestamp")
    private LocalDateTime collecttimestamp;

    @ApiModelProperty("processid")  // N NUMBER(6)
    @JsonProperty("processid")
    private Integer processid;

    @ApiModelProperty("processstatekind")  // N CHAR(1)
    @JsonProperty("processstatekind")
    private String processstatekind;

    @ApiModelProperty("processstatus")  // Y CHAR(1)
    @JsonProperty("processstatus")
    private String processstatus;

    // Code Description Field

}
