package research.loghunter.dto;

import lombok.*;
import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ServerDto {
    private Long id;
    private String name;
    private String host;
    private Integer port;
    private String username;
    private String authType;
    private String password;  // 입력용 (저장 시 암호화)
    private String keyFilePath;
    private String passphrase;  // 입력용 (저장 시 암호화)
    private Boolean active;
    private LocalDateTime lastScanAt;
    private LocalDateTime lastErrorAt;
    private LocalDateTime createdAt;
    private List<ServerLogPathDto> logPaths;
}
