# ItemDTO.java

    package cloud.wconnect.frontoffice.pojo.dto.engineeringrequest;

    import lombok.Data;
    import org.hibernate.validator.constraints.Length;

    import jakarta.validation.constraints.NotBlank;

    /**
     * DTO: item
     *
     * @author yyt
     * 2023/5/12
     */
    @Data
    public class ItemDTO {

        /**
         * 数据 id
         */
        private Integer id;

        /**
         * 分组名称
         */
        @NotBlank(message = "the groupName must not be blank")
        @Length(max = 255, message = "the groupName max length is 255")
        private String groupName;

        /**
         * item 名称
         */
        @NotBlank(message = "the name must not be blank")
        @Length(max = 255, message = "the name max length is 255")
        private String name;

    }