From 2876d18531c7a75d4184285d54740e4b77859c56 Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期三, 08 一月 2025 20:23:47 +0800
Subject: [PATCH] 产品型号集成,类型转换,人员组织加日志,申请接口引用码段值校验
---
Source/BladeX-Tool/blade-starter-datascope/src/main/java/org/springblade/core/datascope/model/DataScopeModel.java | 68 ++++++++++++++++++++++++++++++++++
1 files changed, 68 insertions(+), 0 deletions(-)
diff --git a/Source/BladeX-Tool/blade-starter-datascope/src/main/java/org/springblade/core/datascope/model/DataScopeModel.java b/Source/BladeX-Tool/blade-starter-datascope/src/main/java/org/springblade/core/datascope/model/DataScopeModel.java
new file mode 100644
index 0000000..d37aa2f
--- /dev/null
+++ b/Source/BladeX-Tool/blade-starter-datascope/src/main/java/org/springblade/core/datascope/model/DataScopeModel.java
@@ -0,0 +1,68 @@
+/*
+ * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * Neither the name of the dreamlu.net developer nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ * Author: Chill 搴勯獮 (smallchill@163.com)
+ */
+package org.springblade.core.datascope.model;
+
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import org.springblade.core.datascope.constant.DataScopeConstant;
+import org.springblade.core.datascope.enums.DataScopeEnum;
+
+import java.io.Serializable;
+
+/**
+ * 鏁版嵁鏉冮檺瀹炰綋绫�
+ *
+ * @author Chill
+ */
+@Data
+@NoArgsConstructor
+public class DataScopeModel implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 鏋勯�犲櫒鍒涘缓
+ */
+ public DataScopeModel(Boolean searched) {
+ this.searched = searched;
+ }
+
+ /**
+ * 鏄惁宸叉煡璇�
+ */
+ private Boolean searched = Boolean.FALSE;
+ /**
+ * 璧勬簮缂栧彿
+ */
+ private String resourceCode;
+ /**
+ * 鏁版嵁鏉冮檺瀛楁
+ */
+ private String scopeColumn = DataScopeConstant.DEFAULT_COLUMN;
+ /**
+ * 鏁版嵁鏉冮檺瑙勫垯
+ */
+ private Integer scopeType = DataScopeEnum.ALL.getType();
+ /**
+ * 鍙瀛楁
+ */
+ private String scopeField;
+ /**
+ * 鏁版嵁鏉冮檺瑙勫垯鍊�
+ */
+ private String scopeValue;
+}
--
Gitblit v1.9.3