# GmwrStrDataSaveDTO.java

    package cloud.wconnect.workperformance.pojo.dto.gmwr.strdata.save;

    import jakarta.validation.Valid;
    import jakarta.validation.constraints.NotNull;
    import jakarta.validation.constraints.Size;
    import lombok.Data;

    import java.util.List;

    /**
     * DTO: Str Data Save
     *
     * @author zc
     * @date 2025/1/21
     */
    @Data
    public class GmwrStrDataSaveDTO {
        /**
         * 数据日期（yyyyMMdd）
         */
        @NotNull(message = "The dataDate cannot be null")
        private Long dataDate;

        /**
         * List
         */
        @Valid
        @Size(min = 2, max = 2, message = "The list size must be 2")
        private List<GmwrStrDataCategorySaveDTO> list;
    }