package com.multictrl.modules.business.dto;

import com.multictrl.modules.business.dto.error.DJICloudErrorCode;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 远程日志
 *
 * @author Sdy
 * @since 1.0.0 2026-05-10
 */
@Data
@Schema(name = "远程日志")
public class RemoteLogDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(name = "主键")
    private Long id;

    @Schema(name = "设备类型 0:飞机 3:机库")
    private String module;

    @Schema(name = "导出文件的名称")
    private String filename;

    @Schema(name = "状态")
    private String status;

    @Schema(name = "当前步骤")
    private Integer currentStep;

    @Schema(name = "步骤总数")
    private Integer totalStep;

    @Schema(name = "上传速率")
    private Integer uploadRate;

    @Schema(name = "上传速率文本")
    private String uploadRateText;

    @Schema(name = "文件大小")
    private Long size;

    @Schema(name = "文件大小文本")
    private String sizeText;

    @Schema(name = "响应码")
    private Integer code;

    @Schema(name = "文件路径")
    private String path;

    @Schema(name = "当前日志的时间集合，逗号隔开")
    private String times;

    @Schema(name = "机库SN")
    private String dockSn;

    @Schema(name = "创建时间")
    private Date createDate;

    @Schema(name = "错误信息")
    private DJICloudErrorCode cloudErrorCode;
}
