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; }