package com.kamco.cd.kamcoback.model.dto;

import com.kamco.cd.kamcoback.common.utils.interfaces.JsonFormatDttm;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.ZonedDateTime;
import lombok.Getter;

public class ModelVerDto {

  @Schema(name = "modelVer Basic", description = "모델버전 엔티티 기본 정보")
  @Getter
  public static class Basic {

    private final Long id;
    private final Long modelUid;

    private final String modelCate;
    private final String modelVer;

    private final String usedState;
    private final String modelState;
    private final Double qualityProb;
    private final String deployState;
    private final String modelPath;

    @JsonFormatDttm private final ZonedDateTime createdDttm;
    private final Long createdUid;

    @JsonFormatDttm private final ZonedDateTime updatedDttm;
    private final Long updatedUid;

    public Basic(
        Long id,
        Long modelUid,
        String modelCate,
        String modelVer,
        String usedState,
        String modelState,
        Double qualityProb,
        String deployState,
        String modelPath,
        ZonedDateTime createdDttm,
        Long createdUid,
        ZonedDateTime updatedDttm,
        Long updatedUid) {
      this.id = id;
      this.modelUid = modelUid;
      this.modelCate = modelCate;
      this.modelVer = modelVer;
      this.usedState = usedState;
      this.modelState = modelState;
      this.qualityProb = qualityProb;
      this.deployState = deployState;
      this.modelPath = modelPath;
      this.createdDttm = createdDttm;
      this.createdUid = createdUid;
      this.updatedDttm = updatedDttm;
      this.updatedUid = updatedUid;
    }
  }
}
