# AreaDTO.java

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

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

    import jakarta.validation.constraints.NotBlank;

    /**
     * DTO: area
     *
     * @author yyt
     * 2023/5/12
     */
    @Data
    public class AreaDTO {

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

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

    }