From 34981c30a78e8bbd7791131059a9210f9928b62c Mon Sep 17 00:00:00 2001
From: 刘光辉 <347230014@qq.com>
Date: 星期四, 17 九月 2026 09:24:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into master

---
 jnpf-dms/jnpf-dms-entity/src/main/java/jnpf/dmsEntity/permission/entity/DmsFilePermissionEntity.java |   65 ++++++++++++++++++++++++++++++++
 1 files changed, 65 insertions(+), 0 deletions(-)

diff --git a/jnpf-dms/jnpf-dms-entity/src/main/java/jnpf/dmsEntity/permission/entity/DmsFilePermissionEntity.java b/jnpf-dms/jnpf-dms-entity/src/main/java/jnpf/dmsEntity/permission/entity/DmsFilePermissionEntity.java
new file mode 100644
index 0000000..2448619
--- /dev/null
+++ b/jnpf-dms/jnpf-dms-entity/src/main/java/jnpf/dmsEntity/permission/entity/DmsFilePermissionEntity.java
@@ -0,0 +1,65 @@
+package jnpf.dmsEntity.permission.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Data;
+
+import java.util.Date;
+import java.util.UUID;
+
+@Data
+@TableName("dms_file_permissions")
+public class DmsFilePermissionEntity {
+    @TableId(value = "id", type = IdType.INPUT)
+    private UUID id;
+    @TableField("tenant_id")
+    private String tenantId;
+    @TableField("resource_type")
+    private String resourceType;
+    @TableField("resource_id")
+    private UUID resourceId;
+    @TableField("resource_scope")
+    private String resourceScope;
+    @TableField("principal_type")
+    private String principalType;
+    @TableField("principal_id")
+    private String principalId;
+    @TableField("include_child_orgs")
+    private Boolean includeChildOrgs;
+    @TableField("action_code")
+    private String actionCode;
+    @TableField("source_type")
+    private String sourceType;
+    @TableField("source_id")
+    private String sourceId;
+    @TableField("valid_from")
+    private Date validFrom;
+    @TableField("valid_to")
+    private Date validTo;
+    @TableField("max_use_count")
+    private Long maxUseCount;
+    @TableField("used_count")
+    private Long usedCount;
+    @TableField("grant_reason")
+    private String grantReason;
+    @TableField("granted_by_type")
+    private String grantedByType;
+    @TableField("granted_by_id")
+    private String grantedById;
+    @TableField("revoked_at")
+    private Date revokedAt;
+    @TableField("revoked_by_type")
+    private String revokedByType;
+    @TableField("revoked_by_id")
+    private String revokedById;
+    @TableField("revoke_reason")
+    private String revokeReason;
+    @TableField("revision")
+    private Long revision;
+    @TableField("created_at")
+    private Date createdAt;
+    @TableField("updated_at")
+    private Date updatedAt;
+}

--
Gitblit v1.8.0