# SvaDataPermissionConfig.java

    package cloud.wconnect.workperformance.entity.sva;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import lombok.*;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     * sva 数据权限配置
     * </p>
     *
     * @author zc
     * @since 2023-06-21
     */
    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class SvaDataPermissionConfig implements Serializable {

        private static final long serialVersionUID = 1L;

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

        private Integer tenantId;

        private Integer propertyId;

        /**
         * 身份id（role_id; usergroup_id; account_id）
         */
        private Integer identityId;

        /**
         * 身份类别（0：角色(Role)；1：用户组(UserGroup)；2：用户(User)）
         */
        private Integer identityType;

        /**
         * 状态（0：审批通过(On)；1：无效(Invalid)；2：等待通过(WaitPass)）
         */
        private Integer status;

        /**
         * [{uid: 1, timestamp:11111},…]
         */
        private String updateLog;

    }