# SalesKpiSalesItemDataDTO.java

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

    import cloud.wconnect.commonlib.annotation.validator.DigitsInteger;
    import lombok.Data;
    import org.hibernate.validator.constraints.Length;

    import jakarta.validation.constraints.NotBlank;
    import java.math.BigDecimal;

    /**
     * DTO: 销售指标数据
     *
     * @author zc
     * @date 2023/09/11
     */
    @Data
    public class SalesKpiSalesItemDataDTO {

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

        /**
         * value
         */
        @DigitsInteger(integer = 8, message = "The value is wrong format")
        private BigDecimal value;

        /**
         * 报告 url
         */
        private String reportUrl;
    }