# ShiftDrawerDTO.java

    package cloud.wconnect.frontoffice.pojo.dto.drawercount.currency;

    import cloud.wconnect.commonlib.annotation.validator.DigitsCustom;
    import cloud.wconnect.frontoffice.pojo.dto.drawercount.ShiftDrawerGSADTO;
    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;
    import lombok.NoArgsConstructor;

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

    /**
     * DTO: Drawer
     */
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    public class ShiftDrawerDTO {

        /**
         * rolled coins
         */
        private String rolled;
        /**
         * loose coins
         */
        private String loose;
        /**
         * paper bills
         */
        private String paper;
        /**
         * 发票金额
         */
        @DecimalMin(value = "0", message = "The pettyCash must be greater than 0")
        @DigitsCustom(integer = 8, message = "The pettyCash is wrong format")
        private BigDecimal pettyCash;
        /**
         * GSA 信息
         */
        private ShiftDrawerGSADTO gsa;
        /**
         * 编辑次数
         */
        private Integer times;
    }