package com.qqchen.deploy.backend.deploy.dto;

import com.fasterxml.jackson.databind.JsonNode;
import com.qqchen.deploy.backend.deploy.enums.DeployStatusEnum;
import com.qqchen.deploy.backend.framework.dto.BaseDTO;
import com.vladmihalcea.hibernate.type.json.JsonType;
import jakarta.persistence.Column;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Type;

import java.time.LocalDateTime;

/**
 * 部署日志 DTO
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DeployLogDTO extends BaseDTO {

    /**
     * 环境ID
     */
    private Long workflowInstanceId;

    /**
     * 环境ID
     */
    private Long environmentId;

    /**
     * 应用ID
     */
    private Long applicationId;

    /**
     * 部署版本号
     */
    private String deployVersion;

    private JsonNode variables;

    private JsonNode formVariables;

    /**
     * 部署参数(JSON)
     */
    private JsonNode deployVariables;
} 