package com.ruoyi.platform.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@ApiModel(description = "自动超参数寻优实验实例")
public class RayIns {
    private Long id;

    private Long rayId;

    private String resultPath;

    private Integer state;

    private String status;

    private String nodeStatus;

    private String nodeResult;

    private String param;

    private String source;

    @ApiModelProperty(value = "Argo实例名称")
    private String argoInsName;

    @ApiModelProperty(value = "Argo命名空间")
    private String argoInsNs;

    private Date createTime;

    private Date updateTime;

    private Date finishTime;

    @TableField(exist = false)
    private String resultTxt;

    @TableField(exist = false)
    private ArrayList<Map<String, Object>> trialList;
}

