# BadGuestApproveConfig.java

    package cloud.wconnect.frontoffice.entity.badguest;

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

    import lombok.*;
    import lombok.experimental.Accessors;

    /**
     * <p>
     *
     * </p>
     *
     * @author lichen
     * @since 2023-03-21
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    public class BadGuestApproveConfig implements Serializable {

        private static final long serialVersionUID = 1L;

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

        /**
         * 资产id
         */
        private Integer propertyId;

        /**
         * 审批级别id
         */
        private Long levelId;

        /**
         * 审批层级索引
         * index是mysql关键字，数据库字段更新为approve_index
         */
        private Integer approveIndex;

        /**
         * 用户id
         */
        private Integer userId;

    }