package com.cfdeployer.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeploymentStatus {

    public enum Status {
        PENDING,      // Upload complete, deployment queued
        IN_PROGRESS,  // Currently deploying
        COMPLETED,    // Deployment successful
        FAILED        // Deployment failed
    }

    private String uploadSessionId;
    private Status status;
    private String message;
    private String output;
    private String error;
    private Integer progress; // 0-100
}
