# UpdateBudgetDatabaseStatusDTO.java

    package cloud.wconnect.rateshop.pojo.dto.budgetdatabase;

    import jakarta.validation.constraints.NotNull;
    import lombok.Data;
    import org.hibernate.validator.constraints.Range;

    /**
     * DTO: update budget database status
     *
     * @author: yyt
     * 2025-08-15
     */
    @Data
    public class UpdateBudgetDatabaseStatusDTO {

        /**
         * 1.complete，2.reopen
         */
        @NotNull(message = "newStatus is required")
        @Range(min = 1, max = 2, message = "newStatus must in [1.complete，2.reopen]")
        private Integer newStatus;

    }