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

import com.qqchen.deploy.backend.deploy.entity.JenkinsJob;
import com.qqchen.deploy.backend.deploy.entity.JenkinsView;
import com.qqchen.deploy.backend.framework.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * Jenkins工作 DTO
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class JenkinsInstanceDTO extends BaseDTO {

    private int totalViews;

    private LocalDateTime lastSyncViewsTime;

    private int totalJobs;

    private LocalDateTime lastSyncJobsTime;

    private int totalBuilds;

    private LocalDateTime lastSyncBuildsTime;

    private List<JenkinsViewDTO> jenkinsViewList;

    private List<JenkinsJobDTO> jenkinsJobList;

} 