# SalesKpiSalesmanItemDTO.java

    package cloud.wconnect.workperformance.pojo.dto.saleskpi.monthly;

    import lombok.Data;
    import org.hibernate.validator.constraints.Length;

    import jakarta.validation.Valid;
    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotEmpty;
    import java.util.List;

    /**
     * DTO: 业务员指标数据
     *
     * @author zc
     * @date 2023/09/11
     */
    @Data
    public class SalesKpiSalesmanItemDTO {

        /**
         * 数据源标识
         */
        @NotBlank(message = "The dataSource cannot be blank")
        @Length(max = 100, message = "The dataSource is limited 100 characters")
        private String dataSource;

        /**
         * 指标数据
         */
        @Valid
        @NotEmpty(message = "The data cannot be empty")
        private List<SalesKpiSalesmanItemDataDTO> data;
    }