# BadGuestCompanion.java

    package cloud.wconnect.frontoffice.entity.badguest;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;

    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

    /**
     * <p>
     * 黑名单关联同伴表
     * </p>
     *
     * @author lichen
     * @since 2023-03-20
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("bad_guest_companion_v2")
    public class BadGuestCompanion implements Serializable {

        private static final long serialVersionUID = 1L;

        /**
         * 主键id
         */
        @TableId(value = "id", type = IdType.AUTO)
        private Long id;

        private Integer propertyId;

        /**
         * 关联黑名单id
         */
        private Long badGuestId;

        /**
         * First Name
         */
        private String firstName;

        /**
         * Last Name
         */
        private String lastName;

        /**
         * 是否为Primary Guest？
         */
        private Boolean isPrimary;

        /**
         * 创建人id
         */
        private Integer createdBy;

        /**
         * 创建时间
         */
        private Long createdTime;

        /**
         * 电话
         */
        private String phone;

        /**
         * 家庭住址
         */
        private String address;

        /**
         * 会员卡号
         */
        private String memberCardNum;

        /**
         * 邮箱
         */
        private String email;
    }