package com.campus.activity.vo;

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

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

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

    private Boolean hasConflict;
    private List<ConflictActivity> conflictActivities;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class ConflictActivity {
        private Long id;
        private String title;
        private LocalDateTime startTime;
        private LocalDateTime endTime;
    }
}