# LocationDTO.java

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

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

    import jakarta.validation.constraints.NotBlank;

    /**
     * DTO: Location
     *
     * @author yyt
     * 2023/5/12
     */
    @Data
    public class LocationDTO {

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

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

    }