# ScheduleDataPermissionEmailConfigDTO.java

    package cloud.wconnect.workperformance.pojo.dto.schedule;

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

    import jakarta.validation.Valid;
    import java.util.List;

    /**
     * DTO: 数据权限邮件配置
     *
     * @author yyt
     * @date 2023/7/15
     */
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public class ScheduleDataPermissionEmailConfigDTO {

        /**
         * 收件人集合
         */
        @Valid
        private List<ScheduleDataPermissionEmailTargetDTO> toList;

        /**
         * 抄送人集合
         */
        @Valid
        private List<ScheduleDataPermissionEmailTargetDTO> ccList;
    }