# CustomerSatisfactionDetailDTO.java

    package cloud.wconnect.workperformance.pojo.dto.monthlyreport.customersatisfaction;

    import cloud.wconnect.commonlib.annotation.validator.DigitsCustom;
    import cloud.wconnect.workperformance.pojo.dto.monthlyreport.AttachmentDTO;
    import lombok.AllArgsConstructor;
    import lombok.Data;
    import lombok.NoArgsConstructor;

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

    /**
     * CustomerSatisfaction 区域数据
     *
     * @author lichen
     * @date 2023/9/4
     */
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public class CustomerSatisfactionDetailDTO {

        /**
         * 当月得分
         */
        @DigitsCustom(integer = 4, message = "The score is wrong format")
        private BigDecimal score;

        /**
         * 近3个月平均值
         */
        @DigitsCustom(integer = 10, message = "The threeMonthAvg is wrong format")
        private BigDecimal threeMonthAvg;

        /**
         * 近12个月平均值
         */
        @DigitsCustom(integer = 10, message = "The twelveMonthAvg is wrong format")
        private BigDecimal twelveMonthAvg;

        /**
         * 下个月得分
         */
        @DigitsCustom(integer = 4, message = "The nextMonthMtdScore is wrong format")
        private BigDecimal nextMonthMtdScore;

        @DigitsCustom(integer = 10, message = "The benchmark is wrong format")
        private BigDecimal benchmark;

        private String experience;

        private String service;

        private String accommodations;

        private String breakfast;

        private String cleanliness;

        private String internet;
        /**
         * 备注
         */
        private String remark;
        /**
         * 客户评分集合
         */
        @Valid
        private List<CustomerScoreDTO> customerScores;
        /**
         * 附件集合
         */
        @Valid
        private List<AttachmentDTO> attachments;

    }