# OvertimeDataPermissionConfig.java

    package cloud.wconnect.workperformance.entity.mor;

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

    import java.io.Serializable;

    /**
     * <p>
     * 数据权限配置
     * </p>
     *
     * @author zc
     * @since 2023-11-22
     */
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("mor_overtime_data_permission_config")
    public class OvertimeDataPermissionConfig 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;

    }