# CompanionExtInfoDTO.java

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

    import lombok.Data;

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;

    /**
     * 黑名单同伴的扩展信息DTO
     */
    @Data
    public class CompanionExtInfoDTO {

        /**
         * 黑名单同伴id
         */
        @NotNull(message = "The id cannot be null")
        private Long id;
        /**
         * 电话
         */
        @NotBlank(message = "The phone cannot be blank")
        private String phone;
        /**
         * 住址
         */
        @NotBlank(message = "The address cannot be blank")
        private String address;
        /**
         * 会员卡号
         */
        @NotBlank(message = "The memberCardNum cannot be blank")
        private String memberCardNum;
        /**
         * 邮箱
         */
        @NotBlank(message = "The email cannot be blank")
        private String email;

    }